Partager via


InternetTimeToSystemTime (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

WinInet Functions

Other Resources

SYSTEMTIME