Description Usage Arguments Value Author(s) Examples
Format a Date(time) object as ymd
1 |
pt |
A |
A character object formatted as ‘YYYYMMDD’
Dirk Eddelbuettel
1 2 3 4 | if (requireNamespace("anytime", quietly=TRUE)) {
ymd(anytime::anytime("2016-09-01 10:11:12.123456"))
ymd(anytime::anydate("2016-Sep-01"))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.