Windows batch script: How to create a timestamp
Here is a very simple command to get the timestamp out of Windows batch script. The timestamp will be in YYYYMMDDhhmmss format.
Windows batch script: How to create a timestamp
Here is a very simple command to get the timestamp out of Windows batch script. The timestamp will be in YYYYMMDDhhmmss format.
smallwei 2:05 pm on October 13, 2009
The following line will output the current timestamp:
ECHO %date:~-4%%date:~4,2%%date:~7,2%%time:~0,2%%time:~3,2%%time:~6,2%