xtd 0.2.0
Loading...
Searching...
No Matches

◆ to_binary()

int64 xtd::date_time::to_binary ( ) const

Serializes the current xtd::date_time object to a 64-bit binary value that subsequently can be used to recreate the xtd::date_time object.

Returns
A 64-bit signed integer that encodes the xtd::date_time::kind and xtd::date_time::ticks properties.
Remarks
Use the xtd::date_time::to_binary method to convert the value of the current xtd::date_time object to a binary value. Subsequently, use the binary value and the xtd::date_time::from_binary method to recreate the original xtd::date_time object.