Get date format from character text
getFormat.Rd
Get the POSIX standard date formats from character text formats.
Usage
getFormat(
date,
char.format = c("MM.DD.YYYY", "MMM.DD.YYYY", "DD.MM.YYYY", "DD.MMM.YYYY", "YYYY.MM.DD",
"YYYY.MMM.DD"),
sep = ""
)
Value
A character string representing the POSIX standard date format
equivalent of the string in char.format
.
See also
Other date formatting functions:
chr_to_date()
,
cleanDate()
,
formatDate()
,
numericToDate()