CorDateTimeStatic: FromOADate

FromOADate

Returns a CorDateTime object from a VB Date value.



 Public Function FromOADate(
	  ByVal d As Date,
	  Optional ByVal Kind As DateTimeKind = UnspecifiedKind ) As CorDateTime

Parameters

d
[ByVal] Date. The standard VB Date value.
Kind
[ByVal] Optional. DateTimeKind. Specifies whether the CorDateTime is a UTC, Local, or unspecified time type.  

Default: UnspecifiedKind

Return Values

CorDateTime -  The CorDateTime representation of the date.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview