format-methods

0th

Percentile

Format Methods

Formats 'timeDate' objects as ISO conform character strings.

Keywords
chron
Usage
# S3 method for timeDate
format(x, format = "", tz = "", usetz = FALSE, …)
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.

Value

returns an ISO conform formatted character string.

Note

This S3 method will become in the future a S4 method

See Also

as.character.

Aliases
  • format
  • format.timeDate
Examples
# NOT RUN {
## timeCalendar -
   # Time Calebdar 16:00
   tC = timeCalendar() + 16*3600
   tC
   
## Format as ISO Character String: 
   format(tC)
# }
Documentation reproduced from package timeDate, version 3043.102, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.