getFormat | R Documentation |
Get the POSIX standard date formats from character text formats.
getFormat(
date,
char.format = c("MM.DD.YYYY", "MMM.DD.YYYY", "DD.MM.YYYY", "DD.MMM.YYYY", "YYYY.MM.DD",
"YYYY.MMM.DD"),
sep = ""
)
date |
character string of date |
char.format |
character text format of date |
sep |
character string separating |
A character string representing the POSIX standard date format
equivalent of the string in char.format
.
Derek Chiu
Other date formatting functions:
chr_to_date()
,
cleanDate()
,
formatDate()
,
numericToDate()
getFormat("12/09/1993", "MM.DD.YYYY")
getFormat("2005-09-13", "YYYY.MM.DD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.