cDateTimeStatic: FromBinary

FromBinary

Creates a cDateTime object from a 64-bit currency value.



 Public Function FromBinary(
	  ByVal Value As Currency ) As cDateTime

Parameters

Value
[ByVal] Currency. The value to initialize the cDateTime with.

Return Values

cDateTime -  A new cDateTime object.

Remarks

The 64-bit value contains both the time in 100-nanosecond increments and the DateTimeKind value used to determine if the value is a UTC, Local Time, or unspecified time.

The upper 2-bits represent the DateTimeKind value.

See Also

Project VBCorLib Overview Class cDateTimeStatic Overview cDateTimeStatic Properties cDateTimeStatic Methods DaysInMonth FromFileTime