Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetSystemTime() special consideration
Message
From
06/06/1997 19:21:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
SetSystemTime() special consideration
Miscellaneous
Thread ID:
00035509
Message ID:
00035509
Views:
106
In my quest of playing with WIN32API structure in order to make NetUserAdd() works, I began by using a simple structure to change the system time.

I used WIN32API SetSystemTime() and was able to change the system time by applying a structure. In those parameters, there is one for the hours. However, instead of 0 to 23, I was surprised to find that passing parameter 5 will represent 1 am, 6 will represent 2 am until 23 which is representing 7 pm. Then, 0 is 8 pm, 1 is 9 pm, etc.

Is this is relation with Greenwich time or something like that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform