Cast time without a date
types.castTime(format = "%H:%M:%S", value)
format | available options are "default", "any", and "<pattern>" where
|
---|---|
value | time to cast |
Types and formats specifications,
strptime
, DateTimeClasses
,
parsedate-package
and
lubridate-package
.
types.castTime(format = "default", value = '06:00:00')#> [1] "06:00:00"