Contents Index Topic Contents | ||
Previous Topic: InternetSetStatusCallback Next Topic: InternetTimeToSystemTime |
InternetTimeFromSystemTime
BOOL InternetTimeFromSystemTime( IN CONST SYSTEMTIME *pst, IN DWORD dwRFC, OUT LPSTR lpszTime, IN DWORD cbTime );Formats a date and time according to the specified RFC format (as specified in the HTTP version 1.0 specification).
- Returns TRUE if the function succeeds, or FALSE otherwise. To get extended error information, call GetLastError.
- pst
- Address of a SYSTEMTIME structure that contains the date and time to format.
- dwRFC
- RFC format used. Currently, the only valid format is INTERNET_RFC1123_FORMAT.
- lpszTime
- Address of a buffer that receives the formatted date and time. The buffer should be of size INTERNET_RFC1123_BUFSIZE.
- cbTime
- Size, in bytes, of the lpszTime buffer.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.