Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting time on specific time zones
Message
De
11/10/2000 02:06:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00427695
Message ID:
00427717
Vues:
26
>I'd recommend storing all times in a standard (probably GMT) and letting users set their offset (most people know their offset from GMT in hours). People would need to remember to change their offset when daylight savings starts and finishes. I'd certainly recommend using the seconds to do the offset calcs.

Unfortunately, we won't change our database layout. We also want to store the time in our local time zone. Imagine trying to debug something where you always have to calculate the real time. It is important that the time stamp represents Montreal.

I changed my function to use Al Domain approach. It is a much better approach, simplier code and faster.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform