powered by
This function determines the number of days in a year and month.
GetDaysInMonth(x)
'integer'. Vector of year and month values, with a required date format of YYYYMM.
YYYYMM
Returns an 'integer' vector indicating the number of days in each year and month value specified in x.
x
# NOT RUN { GetDaysInMonth(c("199802", "199804", "200412")) # }
Run the code above in your browser using DataLab