|
|
mailDate |
The mailDate represents headers having Date type. Headers having Date type must have
a value with one of the following syntax:
- Date
Type ::= [<day-of-week> ","] <date> <time>
- <day-of-week>
::= “Mon” | “Tue” | “Wed” | “Thu” | “Fri” | “Sat” |
“Sun”
- <date>
::= <day> <month> <year>
- <day> ::= "01" | "02" | ... |
"31"
- <month> ::= "Jan" | "Feb" | "Mar" | "Apr" | “May" | "Jun" | "Jul" | "Aug" | "Sep" | "Oct" | "Nov" | "Dec"
- <year>
::= <digit><digit> | <century><digit><digit>
- <century>
::= <digit><digit>
- <time> ::= <hour> “:” <minute> [ “:”
<seconds>] <zone>
- <hour> ::= "00" | "01" | "02" |
... | "23"
- <minute> ::= "00" | "01" | "02"
| ... | "59"
- <seconds> ::= "00" | "01" |
"02" | ... | "59"
- <zone> ::= <local-diff> | <zone-str>
- <local-diff> ::= < “+” | “-” >
<digit><digit><digit><digit>
- <zone-str>
::= "UT" | "GMT” |
"EST” | “EDT” | “CST” | “CDT” | “MST” |
“MDT” | “PST” | “PDT” | <alphabet>
Example:
- Mon,
19 Apr 1997 10:32:21 –0600
- 26
Aug 76 1932 EDT
Methods
- SetLocalTime - Sets the date to the local time.
- SetUtcTime - Sets the date to Greenwich Mean Time (GMT) or
Universal Coordinated Time (UTC).
Properties
- DayOfMonth - Sets or gets the day of the month.
- DayOfWeek - Sets or gets the day of the week.
- Month - Sets or gets the month of the year.
- Name - Gets the name of the
header.
- Time - Sets or gets the time in the format HH:MM:SS.
- TimeZone - Sets or gets the time zone.
- Year - Sets or gets the year of the date.
- Value - Gets or sets the value
of the header.