publiclongheader_decode_date (string str, int tz_offset)
Decodes the rfc822 date string and saves the GMT offset into tz_offset if non-NULL.
Parameters:
str
input date string
tz_offset
timezone offset
Returns:
the time_t representation of the date string specified by str or (time_t) 0 on error. If tz_offset is
non-NULL, the value of the timezone offset will be stored.