Converts a DateTime to a MailDateTime.
Namespace:
Rebex.Mime.Headers
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Shared Widening Operator CType ( _ localTime As DateTime _ ) As MailDateTime |
C# |
---|
public static implicit operator MailDateTime ( DateTime localTime ) |
Parameters
- localTime
- Type: System..::..DateTime
A date and time.