Method ToInt64
ToInt64()
Converts the value represented by this instance to a 64-bit sighed
integer representing the number of milliseconds since the Unix
Epoch.
Declaration
public override long ToInt64()
Returns
Type | Description |
---|---|
Int64 | A number of milliseconds since the Unix Epoch of the value represented by this instance. |
Overrides
Remarks
This method performs reverse conversion to that done by
ToDateTime(). It returns the number of
milliseconds since the Unix Epoch, 00:00:00 UTC, January 1, 1970,
of the value represented by this instance. If this instance
represents date and time before the Unix Epoch, the returned value
is negative.