Welcome!

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

SignUp Now!

Are @FILEDATE[file] and @FILEDATE[file,u] ever different?

May
12,846
164
Searching whole drives with a DO loop I couldn't find a file for which they were different.

Here's a particular example. I'd expect the file below to have a UTC @FILEDATE of 2019-01-17.
Code:
v:\> dir /k /m ffind.txt
2019-01-16  21:48              87  ffind.txt

v:\> echo %@filedate[ffind.txt,wu] %@filetime[ffind.txt,wu]
2019-01-16 01:48
 
Last edited:
It works now. It didn't last Thursday.
Code:
v:\> dir /k /m ffind.txt
2019-01-16  21:48              87  ffind.txt

v:\> echo %@filedate[ffind.txt,wu] %@filetime[ffind.txt,wu]
2019-01-17 01:48
 

Similar threads

Back
Top