types.castTime: Cast time without a date

View source: R/types.castTime.R

types.castTimeR 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')


tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.