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
);
Parameters
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