more time format for Win
This commit is contained in:
parent
e6b126468a
commit
1ef1eb3462
|
@ -10,7 +10,7 @@ if NOT "1" == "%argC%" (
|
||||||
|
|
||||||
set url="https://api.powerbi.com/beta/72f988bf-86f1-41af-91ab-2d7cd011db47/datasets/2ff1e8a8-2f6f-4d73-a75d-86829e3f4574/rows?key=8f5xLp1gP8%%2FzSee4vCUBcyjR65I9zZ6nb%%2B%%2F7bbzex%%2FSctLX3ntIlAR0sxWpDdguuYyDtLdHK%%2Fxbxj%%2FrSBkX7eQ%%3D%%3D"
|
set url="https://api.powerbi.com/beta/72f988bf-86f1-41af-91ab-2d7cd011db47/datasets/2ff1e8a8-2f6f-4d73-a75d-86829e3f4574/rows?key=8f5xLp1gP8%%2FzSee4vCUBcyjR65I9zZ6nb%%2B%%2F7bbzex%%2FSctLX3ntIlAR0sxWpDdguuYyDtLdHK%%2Fxbxj%%2FrSBkX7eQ%%3D%%3D"
|
||||||
|
|
||||||
for /f "tokens=2-4 delims=-/. " %%a in ("%date%") do (
|
for /f "tokens=2-4 delims=-/., " %%a in ("%date%") do (
|
||||||
set MM=%%a
|
set MM=%%a
|
||||||
set DD=%%b
|
set DD=%%b
|
||||||
set YYYY=%%c
|
set YYYY=%%c
|
||||||
|
@ -19,7 +19,7 @@ for /f "tokens=2-4 delims=-/. " %%a in ("%date%") do (
|
||||||
rem For yyyy/mm/dd
|
rem For yyyy/mm/dd
|
||||||
set YY=%YYYY:~0,2%
|
set YY=%YYYY:~0,2%
|
||||||
if not "%YY%" == "20" (
|
if not "%YY%" == "20" (
|
||||||
for /f "tokens=1-3 delims=-/. " %%a in ("%date%") do (
|
for /f "tokens=1-3 delims=-/., " %%a in ("%date%") do (
|
||||||
set YYYY=%%a
|
set YYYY=%%a
|
||||||
set MM=%%b
|
set MM=%%b
|
||||||
set DD=%%c
|
set DD=%%c
|
||||||
|
|
Loading…
Reference in New Issue