dayhr.fn | R Documentation |
This function converts date and time into a "yyyy-mm-dd hh:mm:ss" format.
dayhr.fn(x, secs = T, AMPM = F)
x |
Character vector of date-time values currently accepted as input formats
|
secs |
(T|F) Seconds are included in time values |
AMPM |
(T|F) Time format is in AM/PM format |
Returns a strptime object in "%Y-%m-%d %H:%M:%S" or "%Y-%m-%d %H:%M" format
## Not run: dayhr.fn("2021-05-10 14:22:34", secs=T , AMPM = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.