Skip to contents

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()