Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Zones
Message
 
 
To
22/09/2008 11:55:42
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349318
Message ID:
01349520
Views:
30
ServerGMT = ServerLocalTime + ServerTimeDiff
LocalTime = ServerGMT - LocalTimeDiff
>Ok, I'm still feeling a bit dumb here. Are you saying the I will know the difference between GMT and whatever my local time is, and I also will know the difference between GMT and whatever time the app is going to run in, so I can do something like this?
>
>LocalTimeDiff - ServerTimeDiff = AppTimeAdjustment
>
>
>>You have your local time already returned by DATETIME() function. Doug's code gives you info about your Timezone. It can be used to convert the local time to GMT or if you have some other time in GMT you can convert it to the local time.
>>
>>Check also George Tasker's Windows Time file #9738 that shows how to do that through Windows API.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform