NullableTypes Class Library

NullableDateTime Constructor (Int32, Int32, Int32)

Initializes a new instance of the DateTime structure to the specified year, month, and day.

[Visual Basic]
Overloads Public Sub New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer _
)
[C#]
public NullableDateTime(
   int year,
   int month,
   int day
);

Parameters

year
The year (1 through 9999).
month
The month (1 through 12).
day
The day (1 through the number of days in month.

See Also

NullableDateTime Class | NullableTypes Namespace | NullableDateTime Constructor Overload List