ParseHours FormatDate

ParseHms


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

Syntax

nHour, nMin, nSec = ParseHms( sHms )

Remarks

If the time string begins with a negative sign, then the nHour component is returned as negative.

Related Topics

HrToHms, HmsToHr, ParseHours