Export (0) Print
Expand All
Expand Minimize

InternetTimeFromSystemTime (Windows Embedded CE 6.0)

1/6/2010

This function formats a date and time according to the specified RFC format — as specified in the Hypertext Transfer Protocol (HTTP) Specification 1.0.


BOOL WINAPI InternetTimeFromSystemTime(
  CONST SYSTEMTIME* pst, 
  DWORD dwRFC, 
  LPTSTR lpszTime, 
  DWORD cbTime
);

pst

[in] Pointer to a SYSTEMTIME structure that contains the date and time to format.

dwRFC

[in] Specifies the RFC format used. Currently, the only valid format is INTERNET_RFC1123_FORMAT.

lpszTime

[out] Long pointer to a buffer that receives the null-terminated string that contains the formatted date and time. The buffer should be of size INTERNET_RFC1123_BUFSIZE.

cbTime

[in] Size, in bytes, of the lpszTime buffer.

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

The cbTime parameter refers to the count of characters.

Headerwininet.h
Librarywininet.lib
Windows Embedded CEWindows CE 2.0 and later

Reference

WinInet Functions

Other Resources

SYSTEMTIME

Community Additions

ADD
Show:
© 2014 Microsoft