Constructors: NewDate |
Creates a new CorDateTime object from a VB Date.
Public Function NewDate( ByVal Value As Date, Optional ByVal Kind As DateTimeKind = UnspecifiedKind ) As CorDateTime
Default: UnspecifiedKind
This is a short-hand method for calling CorDateTime.FromOADate(Value).
Dim d As CorDateTime Set d = NewDate(#1/1/2001#)