Property | Type | Description | |
---|---|---|---|
UnixEpoch | System.DateTime |
Method | Description | |
---|---|---|
FromUnixTimestamp ( this UnixTimestamp ) : System.DateTime |
Convert the given UNIX timestamp to a .NET DateTime object.
|
|
ToIso8601 ( this DateTime ) : String |
Convert the given DateTime object to an ISO 8601 datetime string.
|
|
ToRfc1123 ( this DateTime ) : String |
Convert the given DateTime object to an RFC 1123 datetime string.
|
|
ToUnixTimestamp ( this DateTime ) : System.Int64 |
Convert the given DateTime object to UNIX timestamp.
|
public static FromUnixTimestamp ( this UnixTimestamp ) : System.DateTime | ||
UnixTimestamp | this | A UNIX timestamp (seconds since 1. January 1970) |
return | System.DateTime |
public static ToIso8601 ( this DateTime ) : String | ||
DateTime | this | A DateTime object. |
return | String |
public static ToRfc1123 ( this DateTime ) : String | ||
DateTime | this | A DateTime object. |
return | String |
public static ToUnixTimestamp ( this DateTime ) : System.Int64 | ||
DateTime | this | A DateTime object. |
return | System.Int64 |