timeDate-whichFormat.Rd
Tries to recognize the date/time format.
whichFormat(charvec, silent = FALSE)
a character string or vector of dates and times.
a logical flag. Should a warning be printed if the format cannot be recognized?
a format string
midnightStandard
whichFormat("2007-12-31 00:00:00") #> [1] "%Y-%m-%d %H:%M:%S" whichFormat("2007-12-31 24:00") #> [1] "%Y-%m-%d %H:%M"