Method | Description | |
---|---|---|
ToDateTimeOffset ( long timestamp ) : DateTimeOffset |
Converts a Unix timestamp (number of milliseconds since the Epoch) to a DateTimeOffset.
|
|
ToDateTimeOffset ( long timestamp ) : DateTimeOffset? |
Converts a Unix timestamp (number of milliseconds since the Epoch) to a DateTimeOffset.
|
|
ToTimestamp ( this dateTimeOffset ) : long |
Converts a DateTimeOffset value to a Unix-style timestamp (number of milliseconds since the Epoch).
|
|
ToTimestamp ( this dateTimeOffset ) : long? |
Converts a DateTimeOffset value to a Unix-style timestamp (number of milliseconds since the Epoch).
|
public static ToDateTimeOffset ( long timestamp ) : DateTimeOffset | ||
timestamp | long | The Unix timestamp. |
return | DateTimeOffset |
public static ToDateTimeOffset ( long timestamp ) : DateTimeOffset? | ||
timestamp | long | The Unix timestamp, or |
return | DateTimeOffset? |
public static ToTimestamp ( this dateTimeOffset ) : long | ||
dateTimeOffset | this | The |
return | long |
public static ToTimestamp ( this dateTimeOffset ) : long? | ||
dateTimeOffset | this | The |
return | long? |