Skip to contents

Units per Unit

Usage

dtt_units_per_unit(units = "seconds", unit = "days")

Arguments

units

A string of the time units. The possible values are "secs", "minutes", "hours", "days" or "weeks".

unit

A string of the time unit.

Value

A number of the units per unit

See also

Other units: dtt_adjust_units(), dtt_units()

Examples

dtt_units_per_unit("hours")
#> [1] 24