CorDateTimeStatic: FromBinary

FromBinary

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



 Public Function FromBinary(
	  ByVal Value As Currency ) As CorDateTime

Parameters

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

Return Values

CorDateTime -  A new CorDateTime 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 CorLib Overview

Class CorDateTimeStatic Overview