Skip to content

Instantly share code, notes, and snippets.

@bulain
Created February 27, 2012 06:19
Show Gist options
  • Save bulain/1921880 to your computer and use it in GitHub Desktop.
Save bulain/1921880 to your computer and use it in GitHub Desktop.
format date in windows
set stamp=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%
echo %stamp%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment