Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
..changing system time programmatically or by and Active
Message
From
19/10/2001 11:10:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/10/2001 10:18:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00570089
Message ID:
00570879
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform