2011-04-21 01:45:07 +02:00
|
|
|
@echo off
|
2011-04-21 20:35:03 +02:00
|
|
|
set "ISO_DATE="
|
|
|
|
set "LAMEXP_ERROR=1"
|
|
|
|
REM ------------------------------------------
|
2011-10-14 23:39:31 +02:00
|
|
|
if not exist "%~dp0\..\Utilities\Date.exe" GOTO:EOF
|
|
|
|
for /F "tokens=1,2 delims=:" %%a in ('"%~dp0\..\Utilities\Date.exe" +ISODATE:%%Y-%%m-%%d') do (
|
|
|
|
if "%%a"=="ISODATE" set "ISO_DATE=%%b"
|
|
|
|
)
|
|
|
|
if "%ISO_DATE%"=="" GOTO:EOF
|
2011-04-21 20:35:03 +02:00
|
|
|
REM ------------------------------------------
|
2011-10-14 23:39:31 +02:00
|
|
|
echo %ISO_DATE%
|
2011-04-21 20:35:03 +02:00
|
|
|
set "LAMEXP_ERROR=0"
|