Calendar/
daysinmonth.pro
give the number of days in a specific month
daysinmonth
Calendar
result = daysinmonth(month[, year])
Return value
number of days in a month or -1 in case of error
Parameters
month
year
in
optional
default: from "time" common variable of cm_4cal
To specify the year of the month. Used only if the common variable
key_caltype = 'greg'. In that case, month and year must have the same
number of elements.
Examples
IDL> ndays = daysinmonth(2, 2000)
Version history
Version
$Id: daysinmonth.pro 157 2006-08-21 09:01:50Z navarro $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
2/7/98
update/review/english/new commons: June 2005 Sebastien Masson.
Other attributes
Uses routines
cm_4cal, updatenew
Produced by IDLdoc 2.0 on Tue Aug 29 14:49:05 2006.