Internet Direct (Indy) Version 9.0.2 Beta
TIdDateTimeStamp.SetFromRFC822
Sets the date and time from an RFC date and time value.

procedure SetFromRFC822(AString: String);
Parameters
AString: String
RFC-compliant date time value.

Description
SetFromRFC822 is a procedure that sets the date and time components of TIdDateTimeStamp using the RFC-compliant date and time value in AString. AString may contain values in the format:

      Fri, 7 Sep 2001 13:00:00
    

SetFromRFC822 calls the StrInternetToDateTime procedure in IdGlobal.pas to convert the RFC date time value.