midnightStandard {timeDate} | R Documentation |
Corrects 'timeDate' objects if they do not fulfill the ISO8601 midnigth standard.
midnightStandard(charvec, format) midnightStandard2(charvec, format)
charvec |
a character string or vector of dates and times. |
format |
the format specification of the input character vector. |
midnightStandard
returns a character
object and
midnightStandard2
returns a POSIXct
object.
## midnightStandard - midnightStandard("2007-12-31 24:00")