Vyfoceno 22.10.2011 22:31
Canon EOS 500D, EF-S 18-55mm, clona 8, čas 4343s (1hodina 12min. 23 sekund), ISO200, stativ

Vyfoceno 22.10.2011 22:31
Canon EOS 500D, EF-S 18-55mm, clona 8, čas 4343s (1hodina 12min. 23 sekund), ISO200, stativ

Simple and useful tool for creating timestamps in command line (batch). It need not fixed time format and is used current time zone.
Examples
for /f "tokens=1" %%a in ('timestamp.exe') do (
set timestamp=%%a
)
systeminfo > %timestamp%_%computername%.log
for /f "tokens=1-8 delims=- " %%a in ('timestamp.exe -d') do (
set year=%%a
set month=%%b
set day=%%c
set hour=%%d
set minute=%%e
set second=%%f
)
echo Now is %hour%:%minute%:%second% %month%-%day%-%year%
Download: timestamp.zip