powered by
Calculate the number of days in a year and month.
GetDaysInMonth(x)
'integer' vector. Year and month, with a required date format of YYYYMM.
YYYYMM
A 'integer' vector indicating the number of days for each year and month value in x.
x
# NOT RUN { GetDaysInMonth(c("199802", "199804", "200412")) # }
Run the code above in your browser using DataLab