Util.Hours_HM() Method

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

Syntax

Util.Hours_HM(Hours, [HrsDelim], [MinDelim], [MinDecimalDigits])

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 "")
MinDecimalDigits (Integer) number of decimal digits in the minutes portion (default 0)
Return (String) sexagesimal string representation of the time in hours, minutes 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.