View source: R/types.castDate.R
| types.castDate | R Documentation |
cast date without a time
types.castDate(format = "default", value)
format |
available options are "default", "any", and "<pattern>" where
|
value |
date to cast |
Types and formats specifications,
strptime, DateTimeClasses,
parsedate-package and
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.