InternetTimeToSystemTime
A version of this page is also available for
4/8/2010
This function takes an HTTP time/date string and converts it to a SYSTEMTIME structure.
Syntax
BOOL InternetTimeToSystemTime(
LPCTSTR lpszTime,
SYSTEMTIME* pst,
DWORD dwReserved
);
Parameters
- lpszTime
[in] Long pointer to a null-terminated date/time string to convert.
- pst
[out] Pointer to the converted time.
- dwReserved
[in] Reserved. Must be set to zero.
Return Value
TRUE indicates that the string was converted. FALSE indicates failure. To get extended error information, call GetLastError.
Requirements
Header | wininet.h |
Library | wininet.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |