SETDATE

setdate.html
hide random home http://www.mentasm.com/~mramiga/c/setdate.html (Amiga Plus Extra No. 5/97, 05/1997)


Format:   SETDATE (file | pattern) [(weekday)] [(date)] [(time)] [ALL] 
Template: FILE/A,WEEKDAY,DATE,TIME,ALL/S
Location: C:  

SETDATE changes the timestamp, the date and time of the creation or last change, of a file or directory. SETDATE (file) changes the date/time of the file or direcotry. SETDATE ALL changes the date and time of all the files and subdirectories matching the pattern entered.

The system clocks arenot affected by SETDATE.

You can use output from DATE as input to SETDATE


Example:

changes the timestamp on file in question to current.

See also: DATE