| clock_to_minutes | R Documentation |
Accepts POSIXt, hms / difftime, numeric fractions of a day (Excel time) or
bare numeric minutes, and character strings: "HH:MM:SS", "HH:MM", bare
numeric strings (minutes), and durations beyond 24 h (e.g. "25:30:00").
Character strings are parsed element-wise; malformed entries become NA.
clock_to_minutes(x)
x |
Time value(s). |
Numeric vector of minutes.
clock_to_minutes("08:30:00")
clock_to_minutes("25:30") # 25 h 30 min = 1530 min
clock_to_minutes(0.5) # half a day = 720 min
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.