Initializes a new instance of MailDateTime header value
with the specified universal DateTime and a TimeZone.
Namespace:
Rebex.Mime.Headers
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ universalTime As DateTime, _ timeZone As TimeSpan _ ) |
C# |
---|
public MailDateTime( DateTime universalTime, TimeSpan timeZone ) |
Parameters
- universalTime
- Type: System..::..DateTime
A universal (UTC) time.
- timeZone
- Type: System..::..TimeSpan
A time zone.