Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SystemTimeToHttpDate

 

Call this function to convert a system time to a string in a format suitable for using in HTTP headers.


      inline void SystemTimeToHttpDate(
   const SYSTEMTIME& st,
   CStringA & strTime 
);

st

The system time to be obtained as an HTTP format string.

strTime

A reference to a string variable to receive the HTTP date time as defined in RFC 2616 (http://www.ietf.org/rfc/rfc2616.txt) and RFC 1123 (http://www.ietf.org/rfc/rfc1123.txt).

Requirements

Header: atlutil.h

Show: