MailDateTime Constructor
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9119)
MailDateTime(DateTime)
Initializes a new instance of MailDateTime header value with the specified local DateTime.
Declaration
public MailDateTime(DateTime localTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | localTime | A local time. |
MailDateTime(DateTime, TimeSpan)
Initializes a new instance of MailDateTime header value with the specified universal DateTime and a TimeZone.
Declaration
public MailDateTime(DateTime universalTime, TimeSpan timeZone)
Parameters
Type | Name | Description |
---|---|---|
DateTime | universalTime | A universal (UTC) time. |
TimeSpan | timeZone | A time zone. |