Méthode | Description | |
---|---|---|
ToDateTimeFromEpoch ( this epochTime ) : System.DateTime |
Convert a numeric epoch time to a .Net DateTime
|
|
ToDateTimeFromEpoch ( this epochTime ) : DateTime? |
Convert a numeric epoch time to a .Net DateTime catering for nulls
|
|
ToEpochFromDateTime ( this dateTime ) : double |
Convert a .Net DateTime to an epoch time
|
|
ToEpochFromDateTime ( this dateTime ) : double? |
Convert a .Net DateTime or null to an epoch time
|
public static ToDateTimeFromEpoch ( this epochTime ) : System.DateTime | ||
epochTime | this | the count of seconds since 1970 |
Résultat | System.DateTime |
public static ToDateTimeFromEpoch ( this epochTime ) : DateTime? | ||
epochTime | this | the count of seconds since 1970 |
Résultat | DateTime? |
public static ToEpochFromDateTime ( this dateTime ) : double | ||
dateTime | this | the datetime value |
Résultat | double |
public static ToEpochFromDateTime ( this dateTime ) : double? | ||
dateTime | this | the datetime value |
Résultat | double? |