PDA

View Full Version : Modify %DATETIME%


Ken
08-12-2005, 11:13 AM
I would like use a modified version of %DATATIME% in my code so that if I find an error in my compile, I need to save %DATETIME% - 1 Week vs the current. However, with all of the roll over conditions, it's getting interesting. The date needs to be rough, not exactly 1 week before.

How would I go about doing this?

Ken

kinook
08-12-2005, 12:58 PM
I don't quite follow the question, but there are quite a few date-related functions in VBScript that may be of use: http://msdn.microsoft.com/library/en-us/script56/html/vtoriFunctions.asp