powered by
GetDaysInMonth(x)
YYYYMM
x
GetDaysInMonth(c("199802", "199804", "200412"))
Run the code above in your browser using DataLab