PyDocs

Nav

Internet Data Handling

DateHeader

Header whose value consists of a single timestamp.

Provides an additional attribute, datetime, which is either an aware
datetime using a timezone, or a naive datetime if the timezone
in the input string is -0000.  Also accepts a datetime as input.
The 'value' attribute is the normalized form of the timestamp,
which means it is the output of format_datetime on the datetime.
Members of DateHeader

d

datetime
If the header value can be recognized as a valid date of one form or another, this attribute will contain a datetime instance representing that date.
0 Examples
No examples for email.headerregistry/DateHeader.
See Also
No see-alsos for email.headerregistry/DateHeader
0 Notes
No notes for DateHeader