OSDN Git Service
(root)
/
lamexp
/
LameXP.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added a more reliable method (hopefully) to generate a proper ISO date in batch.
[lamexp/LameXP.git]
/
etc
/
Deployment
/
_date.bat
1
@echo off
2
set "DATE_TMP=%TEMP%\~date.%RANDOM%.tmp"
3
"%~dp0\_date.exe" +%%Y-%%m-%%d > "%DATE_TMP%"
4
set /p OUT_DATE= < "%DATE_TMP%"
5
del "%DATE_TMP%"
6
set "DATE_TMP="