>Hi Everyone,
>
>I had seen a function declaration for setting system time before.
>Now I need it but I can't find it.
>Please let me know if you know where is it?
>
>Thank you.
Charles,
Here's the declaration:
DECLARE SHORT SetSystemTime IN Win32API;
STRING @lcsystime
If the function fails, zero is returned.
The SYSTEMTIME structure should be emulated using a 16 character string, represent the values in the structure. There are 8 word (two byte) integers, in the usual low byte/high byte format. In order, the values represent:
Year, Month, Day of the Week (0-6), Day, Hour (24 hour format), Minute, Second, Millisecond.
The recent thread on GMT time has information on how to translate the information.
hth,
George
Ubi caritas et amor, deus ibi est