Rfc2822Utils.ToString method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Rfc2822 |
---|---|
Assembly | Skybrud.Essentials.dll |
ToString(DateTime)
Static
Converts the specified timestamp
to a string representation as specified by the RFC 2822 format.
public static string ToString(DateTime timestamp)
Parameters
timestamp
DateTime
The timestamp to be converted.
Returns
The timestamp formatted as a RFC 822 date string.
ToString(DateTimeOffset)
Static
Converts the specified timestamp
to a string representation as specified by the RFC 2822 format.
public static string ToString(DateTimeOffset timestamp)
Parameters
timestamp
DateTimeOffset
The timestamp to be converted.
Returns
The timestamp formatted as a RFC 822 date string.
ToString(EssentialsDateTime)
Static
Converts the specified timestamp
to a string representation as specified by the RFC 2822 format.
public static string ToString(EssentialsDateTime timestamp)
Parameters
timestamp
EssentialsDateTime
The timestamp to be converted.
Returns
The timestamp formatted as a RFC 822 date string.