Welcome!

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

SignUp Now!

Modified time not the same as EXPLORER in TCC

Due to DST, the time displayed in TCC is not correct and can change depending on DST period.
The time in Windows Explorer is correct and never change.
Explorer use FileTimeToSystemTime() and SystemTimeToTzSpecificLocalTime(), this is the correct solution.
Look at the image: if you change the date, the file time is not the same ...

Another question: is there a way to show the seconds in the DIR command ?

Regards.
 

Attachments

  • time.jpg
    time.jpg
    196.4 KB · Views: 341
Due to DST, the time displayed in TCC is not correct and can change depending on DST period.
The time in Windows Explorer is correct and never change.
Explorer use FileTimeToSystemTime() and SystemTimeToTzSpecificLocalTime(), this is the correct solution.

This is for compatibility with CMD.EXE, which also does it wrong.
 
Strange ... when you look at my screnshot, it's strange that the time change depending on the date you are.

Thanks for the PDIR solution.
 
Back
Top