powered by
Convert input in hour-minute-second format to time
as_hms(x)
Time variable of class Period
Input variable
as_hms("12:45:00") if (FALSE) { as_hms("12:45:00") %>% hour() as_hms("12:45:00") %>% second() }
Run the code above in your browser using DataLab