types.castTime {tableschema.r}R Documentation

Cast time without a date

Description

Cast time without a date

Usage

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

Types and formats specifications, strptime, DateTimeClasses, parsedate-package and lubridate-package.

Examples


types.castTime(format = "default", value = '06:00:00')


[Package tableschema.r version 1.1.2 Index]