Convert input in hour-minute-second format to time

Share:

Description

Convert input in hour-minute-second format to time

Usage

1
as_hms(x)

Arguments

x

Input variable

Value

Time variable of class Period

Examples

1
2
3
4
5
6
as_hms("12:45:00")
## Not run: 
as_hms("12:45:00") %>% hour
as_hms("12:45:00") %>% second

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.