FormatHmsStr ParseHms

ParseHours


The ParseHours function splits a decimal number of hours into its components of hours, minutes, and seconds. To split a time string in HMS form, use ParseHms

Syntax

nHour, nMin, nSec = ParseHours( nHours )

Remarks

If the decimal number of hours is negative, then the Hour component is returned as negative.

Related Topics

HrToHms, HmsToHr, ParseHms, FormatHmsStr