8-, 10-, 12- and 14-digit formats are understood, e.g: 20150721 to 20150721000000.
Integers will be converted to character before parsing. All incoming dates will be interpreted
in the specified timezone
("UTC" by default).
If datetime
is a POSIXct
it will be returned unmodified.