Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify file's timestamp
Message
 
À
20/10/1999 15:34:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00278899
Message ID:
00279202
Vues:
15
Hi Erik,

>Yeah, I looked at GetTimeZoneInformation as soon as I figured out what was going on, and it looks like it would be quite a chore. (It needs a pointer to a structure). While I have battled API calls that needed similar setup (thanks, Christof, Ed), it's still not easy sailing for me.

Just to mention it... The FindFiles.Prg sample in my Struct class deals with the conversion from "file time UTC" to "file time local time" to "sytem time" to "VFP datetime". Maybe you can use some parts of it, ie. invert this chain and then directly convert filetime UTC > system time > datetime. This should give you the time as FoxTouch() needs it. But of course, you can stick with the registry solution. *s*

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform