Return to Snippet

Revision: 12077
at March 1, 2009 06:54 by mwt


Initial Code
FOR /F "tokens=1-6 delims=/ " %%i in ('date/t') do set currentdate=%%i-%%j-%%k-%%l
FOR /F "tokens=1-6 delims=: " %%i in ('time/t') do set currenttime=%%i-%%j-%%k

Initial URL


Initial Description


Initial Title
Code to get the current date and time.

Initial Tags


Initial Language
DOS Batch