Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
..changing system time programmatically or by and Active
Message
De
19/10/2001 11:10:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/10/2001 10:18:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00570089
Message ID:
00570879
Vues:
24
>Cetin
>
>
> Thank you very much, i will check the code knowing is going to work.
>
>
> BGarcia.

It works but as Larry pointed out use SetLocalTime and GetLocalTime instead of SetSystemTime, GetSystemTime. Also be sure to call SetLocalTime twice :

SetLocalTime(@newTime)
SetLocalTime(@newTime)

otherwise you might use wrong daylight saving and probably off 1 hr.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform