Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get timezone setting
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00396282
Message ID:
00396305
Views:
9
>I need to get DATETIME() into Universal time (GMT, or as we call it Zulu). Here it would be
> zulu = (datetime() - 7 hours) && daylight saving
> or
>zulu = (datetime() - 8hours ) && Standard time
>But as this app will likely be used in other time zones, I want the info to come from the system.
>Any ideas will be welcome
>Never thought I would say it, but, Oracle is easier, it can do that automaticaly

Lorne,

Download my Windows Time code (under Win32 and Other APIs) from the file section here. FWIW, Windows uses UTC time, but formats it based on the date time settings.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform