Rfc822DateTime function
function Rfc822DateTime(t: TDateTime): string;
Unit
SynaUtil
Description
Returns current time in format defined in RFC-822.
Useful for SMTP messages, but other protocols use this time format as well. Results contains the timezone specification. Four digit year is used to break any Y2K concerns. (Example 'Fri, 15 Oct 1999 21:14:56 +0200')
See also:
AnsiCDateTime, CDateTime, DecodeRfcDateTime, SimpleDateTime