Rounds a hms_timer() up to the nearest second.

tmr_ceiling(x)

Arguments

x

A hms_timer().

Value

A hms_timer().

See also

Other round: tmr_floor(), tmr_format(), tmr_round()

Examples

tmr_ceiling(tmr_timer(18.9))
#> 00:00:19
tmr_ceiling(tmr_timer(122.1))
#> 00:02:03