cDateTimeStatic: SpecifyKind

SpecifyKind

Creates a new cDateTime object with the specified DateTimeKind.



 Public Function SpecifyKind(
	  ByVal Value As cDateTime,
	  ByVal Kind As DateTimeKind ) As cDateTime

Parameters

Value
[ByVal] cDateTime. The cDateTime to convert to a specific kind.
Kind
[ByVal] DateTimeKind. Specifies whether the cDateTime is a UTC, Local, or unspecified time type.

Return Values

cDateTime -  A new cDateTime with the original date and new kind.

Remarks

See Also

Project VBCorLib Overview Class cDateTimeStatic Overview cDateTimeStatic Properties cDateTimeStatic Methods Parse Today