Share via


DaysInMonth Method

[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
PublicSharedFunctionDaysInMonth ( _
    yearAsInteger, _
    monthAsInteger _
) AsInteger
'Usage
DimyearAsIntegerDimmonthAsIntegerDimreturnValueAsIntegerreturnValue = Date.DaysInMonth(year, _
    month)
publicstaticintDaysInMonth(
    intyear,
    intmonth
)
public:
staticintDaysInMonth(
    intyear, 
    intmonth
)
publicstaticfunctionDaysInMonth(
    year : int, 
    month : int
) : int

Parameters

Return Value

Type: System. . :: . .Int32

.NET Framework Security

See Also

Reference

Date Structure

Date Members

System Namespace