HrToHms FormatTime

HmsToHr


The HmsToHr function converts a time string containing hours, minutes, and seconds to a decimal hour value.

Syntax

nHours = HmsToHr( sHms )

Remarks

This function converts a string to a decimal number of hours. To do the reverse conversion, use HrToHms.

Related Topics

HrToHms, ParseHours