View source: R/types.castDate.R
| types.castDate | R Documentation |
Cast date without a time.
types.castDate(format = "default", value)
format |
Available options are
|
value |
Date to cast. |
Types and formats specifications,
strptime,
DateTimeClasses,
parsedate-package,
lubridate-package.
types.castDate(format = "default", value = as.Date("2019-1-1"))
types.castDate(format = "default", value = "2019-1-1")
types.castDate(format = "any", value = "2019-1-1")
types.castDate(format = "%d/%m/%y", value = "21/11/06")
types.castDate(format = "%d/%m/%y", value = as.Date("2019-1-1"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.