Util.Hours_HMS() Method

Converts a value in hours (may be fractional) to a string sexagesimal format, hours, minutes, seconds

Syntax

Util.Hours_HMS(Hours, [HrsDelim], [MinDelim], [SecDelim], [SecDecimalDigits])

The method syntax has these parts:

Part Description
Hours (Double) time in hours 0 to 23.99999999
HrsDelim (String) delimiter to follow the hours portion (default ":")
MinDelim (String) delimiter to follow the minutes portion (default ":")
SecDelim (String) delimiter to follow the seconds portion (default "")
SecDecimalDigits (Integer) number of decimal digits in the seconds portion (default 0)
Return (String) sexagesimal string representation of the time in hours, minutes, seconds format

Remarks

If you need a leading plus sign, you must prepend it yourself. The delimiters are not restricted to single characters.

The default representation is HH:MM:SS.