7.7.8.2 Functions that Produce Times

These functions take numeric arguments and return numeric values that represent times.

Function: TIME.DAYS (ndays)

Returns a time corresponding to ndays days.

Function: TIME.HMS (nhours, nmins, nsecs)

Returns a time corresponding to nhours hours, nmins minutes, and nsecs seconds. The arguments may not have mixed signs: if any of them are positive, then none may be negative, and vice versa.