Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 986 Bytes

InternetTimeToSystemTime.md

File metadata and controls

52 lines (36 loc) · 986 Bytes

Home

Function name : InternetTimeToSystemTime

Group: Internet Functions (WinInet) - Library: wininet


Converts an HTTP time/date string to a SYSTEMTIME structure.


Code examples:

Converting an HTTP time/date string to a SYSTEMTIME structure

Declaration:

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

FoxPro declaration:

DECLARE INTEGER InternetTimeToSystemTime IN wininet;
	STRING    lpszTime,;
	STRING  @ pst,;
	INTEGER   dwReserved
  

Parameters:

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.


Return value:

Returns TRUE if the string was converted, or FALSE otherwise.