Description Usage Arguments Value Author(s) Examples
Guess the date format.
1 2 | guessDateFormat(x, returnDates = FALSE, tzone = "", EN = TRUE,
messages = FALSE)
|
x |
a vector (not a factor) |
returnDates |
logical, whether to return the dates |
tzone |
time zone |
EN |
logical; if |
messages |
logical, whether to print some messages |
If returnDates=FALSE
, the date format if guessed, FALSE
if no date format is guessed.
If returnDates=TRUE
, the date if the date format if guessed, FALSE
if no date format is guessed.
Cole Beck.
1 2 3 4 5 6 7 | guessDateFormat("2017-03-04")
guessDateFormat("2017-03-04", returnDates = TRUE)
guessDateFormat(c("2017-03-04", "2017-04-04"))
guessDateFormat("04-03-2017")
guessDateFormat(c("04-03-2017", "2017-04-04"))
guessDateFormat("13-03-2017")
guessDateFormat("13-03-2017", EN=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.