1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with @FILETIME[ ,u]

Discussion in 'Support' started by Jim Cook, Jul 8, 2008.

  1. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    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.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,027
    Likes Received:
    84
    Jim Cook wrote:

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

    Rex Conn
    JP Software
     

Share This Page