ymd | R Documentation |
Format a Date(time) object as ymd
ymd(pt)
pt |
A |
A character object formatted as ‘YYYYMMDD’
Dirk Eddelbuettel
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.