CorDateTimeStatic: SpecifyKind

SpecifyKind

Creates a new CorDateTime object with the specified DateTimeKind.



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

Parameters

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

Return Values

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

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview