dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp 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
 

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.
See Also