Gentee Programming Language > Documentation > Libraries Download documentation

daysinmonth

The number of days in a month. Leap years are taken into account for February.
 
uint daysinmonth(
      uint   year,
      uint   month
)

Parameters

yearYear.
monthMonth.

Return value

Returns the number of days in the month.

See also

    Function for working with time


 Copyright © 2004-2006 Gentee Inc. All rights reserved.