Spam Filter Rules: GetRFC822Date

Statement GetRFC822Date
Version 2.2.1+
Purpose Converts an RFC 822 format date field into the number of days elapsed since 1st January 1601

The GetRFC822Date statement requires a date in RFC 822 format and a variable name, in the format

GetRFC822Date <date> <variable name>

The result is a floating point number, so can contain fractions of a day

Example

GetRFC822Date ${date} result

Log ${result}