Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I convert a GMT Time value?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586211
Message ID:
00586242
Views:
11
>>I need to convert a GMT DateTime value to the appropriate local time value.
>>Does anybody know of any functions that obtain the GMT offset?
>>
>>TIA
>
>Peter,
>
>If you mean UTC (Universal Coordinated Time) rather than GMT, then the Windows API has some functions that will do this for you. The file system uses UTC time to store the date/time stamp. I've programming in the download section that demonstrates this. Simply click File #9738 to download.

George,

I am collecting NT/2000 performance data, and I assume that the timestamp I am being given is GMT.
In order to report meaningfully on the data, I need to convert this to the local time.
What exactly does UTC express?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform