Constructors: NewDate

NewDate

Allows for quickly creating a cDateTime object from a VB Date value.



 Public Function NewDate(
	  ByVal Value As Date,
	  Optional ByVal Kind As DateTimeKind = UnspecifiedKind ) As cDateTime

Parameters

Value
[ByVal] Date. The date of the new cDateTime.
Kind
[ByVal] Optional. DateTimeKind. Specifies whether the cDateTime is a UTC, Local, or unspecified time type.  

Default: UnspecifiedKind

Return Values

cDateTime -  A cDateTime object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewCurrencys NewDates