Метод | Описание | |
---|---|---|
FromIso8601FormattedDateTime ( string iso8601DateTime ) : System.DateTime |
Converts ISO-8601 format (yyyy-MM-ddTHH:mm:ssZ) date time to DateTime.
|
|
FromUnixTimestamp ( long timestamp ) : System.DateTime |
Converts a UNIX timestamp to DateTime.
|
|
ToIso8601FormattedDateTime ( System.DateTime dateTime ) : string |
Converts to specified DateTime to ISO-8601 format (yyyy-MM-ddTHH:mm:ssZ).
|
|
ToUnixTimestamp ( System.DateTime date ) : long |
Converts a DateTime to a UNIX timestamp.
|
public static FromIso8601FormattedDateTime ( string iso8601DateTime ) : System.DateTime | ||
iso8601DateTime | string | /// The iso 8601 formatted date time. /// |
Результат | System.DateTime |
public static FromUnixTimestamp ( long timestamp ) : System.DateTime | ||
timestamp | long | /// The UNIX timestamp. /// |
Результат | System.DateTime |
public static ToIso8601FormattedDateTime ( System.DateTime dateTime ) : string | ||
dateTime | System.DateTime | /// The date time. /// |
Результат | string |
public static ToUnixTimestamp ( System.DateTime date ) : long | ||
date | System.DateTime |
/// The |
Результат | long |