Method | Description | |
---|---|---|
EndOfDay ( this dateTime ) : System.DateTime |
Returns a new DateTime object with the same date part as the given dateTime but the time set to 23:59:59.999.
|
|
StartOfDay ( this dateTime ) : System.DateTime |
Same as DateTime.Date. Returns a new DateTime object with the same date part as the given dateTime but the time set to 00:00:00.
|
|
ToMilliseconds ( this dateTime ) : long |
Returns the number of milliseconds that elapsed from 01/01/1970 to the given dateTime.
|
public static EndOfDay ( this dateTime ) : System.DateTime | ||
dateTime | this | |
return | System.DateTime |
public static StartOfDay ( this dateTime ) : System.DateTime | ||
dateTime | this | |
return | System.DateTime |
public static ToMilliseconds ( this dateTime ) : long | ||
dateTime | this | |
return | long |