View source: R/dateFormatCheck.r
dateFormatCheck | R Documentation |
Checks to see if format is YYYY-MM-DD. Also performs a few other date checks.
dateFormatCheck(date)
date |
character |
condition logical TRUE or FALSE if checks passed or failed
date <- '1985-01-01'
dateFormatCheck(date)
dateWrong <- '1999/1/7'
dateFormatCheck(dateWrong)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.