Welcome!

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

SignUp Now!

Problem with @FILETIME[ ,u]

May
603
0
TCC 9.02.151 Windows XP [Version 5.1.2600]
TCC Build 151 Windows XP Build 2600 Service Pack 3

Unless I'm misreading how to use @filetime with the UTC suffix, I
don't think it's working. Below, the %_utctime and %_time are correct.
The @filetime[file,wu] should be displaying the UTC time, should it
not?

D:\>md test
D:\>cd test
D:\test>echo foo > test.txt
D:\test>*dir /k /m test.txt
2008-07-08 07:59 5 test.txt

D:\test>echo %@filetime[test.txt]
07:59

D:\test>echo %@filetime[test.txt,w]
07:59

D:\test>echo %@filetime[test.txt,wu]
07:59

D:\test>echo %_utctime
14:59:34

D:\test>echo %_time
07:59:36


--
2008 Fridays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Saturday.
Measure wealth by the things you have for which you would not take money.
 
Jim Cook wrote:

> TCC 9.02.151 Windows XP [Version 5.1.2600]
> TCC Build 151 Windows XP Build 2600 Service Pack 3
>
> Unless I'm misreading how to use @filetime with the UTC suffix, I
> don't think it's working. Below, the %_utctime and %_time are correct.
> The @filetime[file,wu] should be displaying the UTC time, should it
> not?

The UTC support wasn't enabled in @FILETIME; I've turned it on for build
152.

Rex Conn
JP Software
 

Similar threads

Back
Top