SystemTimeToHttpDate
Call this function to convert a system time to a string in a format suitable for using in HTTP headers.
Syntax
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 (https://www.ietf.org/rfc/rfc2616.txt) and RFC 1123 (https://www.ietf.org/rfc/rfc1123.txt).
Requirements
Header: atlutil.h
See Also
Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Functions Alphabetical Reference