Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A way to change system date/time programatically from VF
Message
De
11/09/1998 13:05:00
 
 
À
11/09/1998 12:58:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135525
Message ID:
00135529
Vues:
12
>Title says all.
>Carlos.

cmddate = '!DATE '+DTOC(DATE()+1) && Change date to tomorrow
cmdtime = '!TIME 12:00:00' && Change time to noon

&cmddate
&cmdtime

This will change date & time (via DOS). There are more than likely WIN API calls to do this, also.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform