Function

GLibDateget_days_in_month

Declaration

guint8
g_date_get_days_in_month (
  GDateMonth month,
  GDateYear year
)

Description

Returns the number of days in a month, taking leap years into account.

Parameters

month GDateMonth
 

Month.

year GDateYear
 

Year.

Return value

Returns: guint8
 

Number of days in month during the year.