SetLocalTime
This function sets the current local time and date.
BOOL SetLocalTime(
const SYSTEMTIME* lpSystemTime
);
Parameters
lpSystemTime
[in] Pointer to a SYSTEMTIME structure that contains the current local date and time.The wDayOfWeek member of the SYSTEMTIME structure is ignored.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.
See Also
GetLocalTime | GetSystemTime | SYSTEMTIME
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.