InternetTimeToSystemTime function
Converts an HTTP time/date string to a SYSTEMTIME structure.
Syntax
BOOL InternetTimeToSystemTime( _In_ LPCTSTR lpszTime, _Out_ SYSTEMTIME *pst, _In_ DWORD dwReserved );
Parameters
- lpszTime [in]
-
Pointer to a null-terminated string that specifies the date/time to be converted.
- pst [out]
-
Pointer to a SYSTEMTIME structure that receives the converted time.
- dwReserved [in]
-
This parameter is reserved and must be 0.
Return value
Returns TRUE if the string was converted, or FALSE otherwise. To get extended error information, call GetLastError.
Remarks
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
InternetTimeToSystemTimeW (Unicode) and InternetTimeToSystemTimeA (ANSI) |
See also