fTime: Formatted Time

Description Usage Arguments Examples

View source: R/fTime.R

Description

This function takes seconds as an input and returns time in H:M:S format. The time is treated as total time with hours as the maximum unit.

Usage

1
fTime(x, excelToSec = FALSE)

Arguments

x

Time in seconds

excelToSec

If True the time in seconds is treated as MS Excel formatted time which is the time in seconds / (24*60*60). To compensate the input is multiplied by (24*60*60). Default is False.

Examples

1

smmurphy/convenience documentation built on Aug. 26, 2020, 8:46 p.m.