Cast time without a date

types.castTime(format = "%H:%M:%S", value)

Arguments

format

available options are "default", "any", and "<pattern>" where

default

An ISO8601 time string e.g. hh:mm:ss

any

As for types.castDate

<pattern>

As for types.castDate

value

time to cast

See also

Examples

types.castTime(format = "default", value = '06:00:00')
#> [1] "06:00:00"