cDateTime: ToBinary

ToBinary

Returns a 64-bit representation of the time and kind.



 Public Function ToBinary ( ) As Currency

Return Values

Currency -  64-bit representation of the cDateTime

Remarks

The upper 2 bits are used to represent the DateTimeKind of the object, the lower 62-bits are used to represent the 100-nanosecond segmented time.

See Also

Project VBCorLib Overview Class cDateTime Overview cDateTime Properties cDateTime Methods TimeOfDay (get) ToFileTime