(I posted this on another fox..forum)
forgive me..
I am developing a new VFP9 / sp2 application that is running on SQL Server 2012, which is hosted in a data center.
The data is remote hosted at data center/hosting company.
the Client will install the app on their local computers/network and run the app and access data remotely. App is local to the user.
However, many of the users will reside in different time zone. (eastern, center, pacific, mountain, etc..)
Currently, alot of my "AddDate" fields are being stored as GetDate(), and it just hit me.
So, i Binged (not googled lol) different time zones etc.. and i came to GetUTCDate() which is the GMT date.
Then, in the Application configuration of each Store's profile (each store is an installed application), I ask their timezone and than the display of all the dates (ouch), will have to be the offset difference GMT-5 or -4 or -8 etc..
How did/would you handle that?
Ez Logic
Michigan
forgive me..
I am developing a new VFP9 / sp2 application that is running on SQL Server 2012, which is hosted in a data center.
The data is remote hosted at data center/hosting company.
the Client will install the app on their local computers/network and run the app and access data remotely. App is local to the user.
However, many of the users will reside in different time zone. (eastern, center, pacific, mountain, etc..)
Currently, alot of my "AddDate" fields are being stored as GetDate(), and it just hit me.
So, i Binged (not googled lol) different time zones etc.. and i came to GetUTCDate() which is the GMT date.
Then, in the Application configuration of each Store's profile (each store is an installed application), I ask their timezone and than the display of all the dates (ouch), will have to be the offset difference GMT-5 or -4 or -8 etc..
How did/would you handle that?
Ez Logic
Michigan