Group: Internet Functions (WinInet) - Library: wininet
Converting an HTTP time/date string to a SYSTEMTIME structure
BOOL InternetTimeToSystemTime(
LPCTSTR lpszTime,
SYSTEMTIME* pst,
DWORD dwReserved
);
DECLARE INTEGER InternetTimeToSystemTime IN wininet;
STRING lpszTime,;
STRING @ pst,;
INTEGER dwReserved
lpszTime [in] Pointer to a null-terminated date/time string to convert.
pst [out] Pointer to a SYSTEMTIME structure that receives the converted time.
dwReserved [in] Reserved. Must be set to 0.
Returns TRUE if the string was converted, or FALSE otherwise.