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
nHour, nMin, nSec = ParseHms( sHms )
where
sHms is a time string, in decimal hours (e.g., "05:15:36.000").
nHour, nMin, nSec are the components of the HMS string (e.g., 5, 15, and 36).
If the time string begins with a negative sign, then the nHour component is returned as negative.