powered by
IsDate(x, what = c("either", "both", "timeVaries"))
either
both
timeVaries
Year
Month
IsDate(as.Date("2013-04-10")) IsDate(31002)
Run the code above in your browser using DataLab