ParseDms 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 )

bullet.gif    nHours is a decimal hour value (e.g., 5.25016667).

bullet.gif    nHour, nMin, nSec are the components of the HMS string (e.g., 5, 15, and 36).

Remarks

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

Related Topics

HrToHms, HmsToHr, ParseHms, FormatHmsStr


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.