Skip to contents

Converts Excel times encoded as a fraction of a day to hms class.

Usage

dtt_excel_to_time(x, ...)

Arguments

x

A vector of numbers to convert.

...

Unused.

Value

A floored hms vector.

Examples

dtt_excel_to_time(0.5)
#> 12:00:00
dtt_excel_to_time(0.25)
#> 06:00:00
dtt_excel_to_time(0.75)
#> 18:00:00