Learn R Programming

tableschema.r (version 1.1.2)

types.castTime: 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

Examples

Run this code

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

Run the code above in your browser using DataLab