Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UTC time Conversion
Message
De
02/05/2013 16:56:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01572478
Message ID:
01572558
Vues:
58
>>Hey Gang!
>>
>>Do you have any VFP code that can convert a DATETIME or DATE value into the
>>
>>UTC time (given the setup info in Windows itself for the workstation) ??
>>
>>Thanks!!
>
>
>See message #1084839

Basically -- it's better to get the UT directly rather than convert form local time. Part of the snag is functions like DATETIME() and TIME() *don't* tell you if the time they return are in terms of standard local time or daylight local time -- and specifically a problem on the day on which the transition from daylight to standard occurs -- local time repeats (and in the case of the USA where daylight saving occurs, there is a 1-hour "window" where local time repeats -- once for daylight, and once again for standard).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform