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