Метод | Описание | |
---|---|---|
RoundToNearestSecond ( this value ) : System.DateTime |
A DateTime extension method that rounds DateTimes to the nearest second. 7/19/2011. |
|
TruncateToSecond ( this value ) : System.DateTime |
Truncates DateTime to second, so that JSON values with DateTimes can be roundtripped / compared properly. 7/19/2011. |
public static RoundToNearestSecond ( this value ) : System.DateTime | ||
value | this | Original DateTime value. |
Результат | System.DateTime |
public static TruncateToSecond ( this value ) : System.DateTime | ||
value | this | Original DateTime value. |
Результат | System.DateTime |