dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteDateTime Structure / DaysInMonth Method
The year.
The month (a number ranging from 1 to 12).

In This Topic
    DaysInMonth Method
    In This Topic
    Returns the number of days in the specified month and year.
    Syntax
    'Declaration
     
    Public Shared Function DaysInMonth( _
       ByVal year As Integer, _
       ByVal month As Integer _
    ) As Integer
    public static int DaysInMonth( 
       int year,
       int month
    )

    Parameters

    year
    The year.
    month
    The month (a number ranging from 1 to 12).

    Return Value

    The number of days in the specified month and year.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also