timeDate (version 4032.109)

format-methods: Format methods

Description

Formats "timeDate" objects as ISO conform character strings.

Usage

# S3 method for timeDate
format(x, format = "", tz = "", usetz = FALSE, ...)

Value

an ISO conforming formatted character string

Arguments

format

a character string describing the format.

tz

a timezone specification to be used for the conversion.

usetz

a logical.

x

an object of class "timeDate".

...

arguments passed to other methods.

See Also

as.character

Examples

Run this code
## timeCalendar -
   # Time Calendar 16:00
   tC = timeCalendar() + 16*3600
   tC
   
## Format as ISO Character String: 
   format(tC)

Run the code above in your browser using DataLab