Date Constructor (Int32, Int32, Int32, Calendar)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSubNew ( _
yearAsInteger, _
monthAsInteger, _
dayAsInteger, _
calendarAsCalendar _
)
'Usage
DimyearAsIntegerDimmonthAsIntegerDimdayAsIntegerDimcalendarAsCalendarDiminstanceAs NewDate(year, month, _
day, calendar)
publicDate(
intyear,
intmonth,
intday,
Calendarcalendar
)
public:
Date(
intyear,
intmonth,
intday,
Calendar^ calendar
)
publicfunctionDate(
year : int,
month : int,
day : int,
calendar : Calendar
)
Parameters
- year
Type: System. . :: . .Int32
- month
Type: System. . :: . .Int32
- day
Type: System. . :: . .Int32
- calendar
Type: System.Globalization. . :: . .Calendar
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).