InternetTimeToSystemTime

This function takes an HTTP time/date string and converts it to a SYSTEMTIME structure.

At a Glance

Header file: Wininet.h
Windows CE versions: 2.0 and later

Syntax

BOOL InternetTimeToSystemTime(LPCTSTR lpszTime, SYSTEMTIME *pst, DWORD dwReserved);

Parameters

lpszTime

Long pointer to a null-terminated date/time string to convert.

pst

Pointer to the converted time.

dwReserved

Reserved; set to zero.

Return Values

TRUE indicates that the string was converted. FALSE indicates failure. To get extended error information, call GetLastError.