Skip to content.

TalkBMC

Sections
You are here: Home » Blog Archive » Anne Gentle » Exploring Information Design and Development » DOS time stamp YYYY

Comment

Above in this comment thread: MS-DOS tips for time and date stamps » help

DOS time stamp YYYY

Posted by Ann Vrbancic at 2007-10-10 15:39
The trick to get YYYYMMDD format is
set FileName=%date:~10,4%%date:~4,2%%date:~7,2%

that is 10,4 not 12,4
 
 

Powered by Plone

This site conforms to the following standards: