Take Command / TCC Help v. 13.03
@MAKEAGENot in LE
Hide Navigation Pane
@MAKEAGENot in LE
Previous topic Next topic No directory for this topic No expanding text in this topic  
@MAKEAGENot in LE
Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

@MAKEAGE[date[,time[,format]]] : Converts date and time (if included) to an age, a single value in the same format as @FILEAGE.

 

@MAKEAGE accepts an optional third parameter specifying the date format:

 

0default
1USA (mm/dd/yy)
2Europe (dd/mm/yy)
3Japan (yy/mm/dd)
4 ISO (yyyy-mm-dd)
5ISO 8601 (yyyy-Www-d)
6ISO 8601 (yyyy-ddd)

 

@MAKEAGE can be used to compare the time stamp of a file with a specific date and time, for example:

 

if %@fileage[myfile] lt %@makeage[1/1/85] echo OLD!

 

@AGEDATE is the inverse of this function.

 

Examples:

 

echo %@makeage[%_date]

echo %@makeage[%_date,%_time]

 

See also: Time Stamps, @FILEAGE, @AGEDATE.

 

Comments (...)