Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get and Set Date And Time File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00843751
Message ID:
00843775
Vues:
19
>>Hi Everybody,
>>
>>I would like to get and set the last date-time that a file has been changed in VFP6. How may I do that?
>>
>>Thank you very much,
>
>Ali,
>Foxtools has a function called FoxTouch that allows you to set the date. Check out George Tasker's Extended help for this utility at File#9333. Using Adir() will get you the date time.
>
>HTH.

Larry,

Foxtouch has a bug. It doesn't handle the time bias correctly. All file times are stored as UTC times. Foxtouch inappropriately makes the conversion one too many times, so that the displayed time (rather than being the local time) is the UTC time of datetime desired. I think I documented this in the Extended Foxtools Help file.

Besides, it only alters the last modification date/time.

Regards,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform