Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir() and daylight saving
Message
 
To
09/11/2022 08:25:19
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685270
Message ID:
01685271
Views:
84
This message has been marked as the solution to the initial question of the thread.
Likes (1)
>Hi!
>
>I've developed a Tool, that looks in some Directories and stores Filenames and Dates (result of adir()) in an Table.
>If one File changes, i set a Flag and some other Stuff follows...
>
>Well now the daylight Saving Time in Germany has ended.
>And WOW adir() now say's every File has a changed fileTime. (1 hour).
>WTF? adir() why are you so stupid?
>Any suggestions to solve this wired stuff?

ADIR() return time in local time - that's all.

If you want know filetime in UTC, you must use FindFirstFile() from WINAPI.

=========
https://www.vbarchiv.net/forum/read.php?id=2&t=142207&i=142207&v=f
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform