Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I convert a GMT Time value?
Message
From
27/11/2001 07:22:07
 
 
To
27/11/2001 07:10:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586211
Message ID:
00586223
Views:
12
>>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
>
>If you know your time-zone offset (for instance, "+2"), just add that many hours to the GMT time. For DateTime values, you have to add seconds, so you have to multiply the hours by 3600 (seconds per hour).
>
>HTH, Hilmar.

So true...but how do I get the time-zone offset?
Unless intoxicated, I usually know where I am, but I dont know where in the world the software is running :-))
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