format.tod_time: Encode in a Common Format

View source: R/time-of-day.r

format.tod_timeR Documentation

Encode in a Common Format

Description

Format a tod_time object into a character string for pretty printing.

Usage

## S3 method for class 'tod_time'
format(x, ..., sep = ":")

Arguments

x

an R object

...

ignored

sep

character used as separator

Value

A character string with the time formatted as "HH:MM:SS", where ":" is the argument passed to sep.

See Also

Other Time of day functions: as_tod(), print.tod_time()


SunCalcMeeus documentation built on April 4, 2025, 1:43 a.m.