Skip to content.

TalkBMC

Sections
You are here: Home » Blog Archive » Anne Gentle » Exploring Information Design and Development » DOS Folder with Date Name Creation

Comment

Above in this comment thread: MS-DOS tips for time and date stamps » But I need yyyymmdd_hhmmss!!!!

DOS Folder with Date Name Creation

Posted by John at 2006-06-14 09:23
The above code works awesome. However, is there a way I can set it to do yesterday's date?

Tough stuff, date subtraction and addition and so forth

Posted by Anne Gentle at 2006-06-20 13:50
Date addition and subtraction is some of the toughest stuff. I think you'd have to use one of these utilities that others have written: a quick Google search yielded these tools:

fdate at http://www.ferg.org/fdate/index.html

nowminus at http://www.merlyn.demon.co.uk/programs/ (pascal implementation but only requires DOS to run, apparently)

Anyone else have other helper tools for date subtraction?
 
 

Powered by Plone

This site conforms to the following standards: