Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Help says @fileage accepts u argument

Jun
770
6
The Help says, "If you append a u to the second argument, @FILEAGE will display the age in UTC." and shows "(u)" in the syntax. I don't think that there is a u parameter.
 
It seems to work here, even if "u" is the entire second parameter. Below it (correctly) shows a 5 hour difference between local time and UTC.

Code:
v:\> set local=%@fileage[avetemp.txt,w]
 
v:\> set utc=%@fileage[avetemp.txt,wu]
 
v:\> echo %local
129725237365434159
 
v:\> echo %utc
129725417365434159
 
v:\> echo %@eval[(%utc - %local) / (10000000 * 60 * 60)]
5
 

Similar threads

Replies
1
Views
2K
Back
Top