Last active
November 27, 2017 09:02
-
-
Save vishless/f6581b81eba7e5cef3ba98237b673648 to your computer and use it in GitHub Desktop.
Command to generate a formatted timestamp in cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timestamp | |
echo %DATE:~-4%%DATE:~4,2%%DATE:~7,2%%time:~-11,2%%time:~-8,2%%time:~-5,2% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment