HrToHms
The HrToHms function converts a time value, in decimal hours, to a properly formatted string containing hours, minutes, and seconds. Use this to convert right ascension, longitude, or clock time.
sHms = HrToHms( nHours )
nHours is the decimal hours (e.g., 6.424468).
sHms is a string containing hours, minutes, and seconds (e.g., "06:25:28.085").
This function converts a number to a time string. To do the reverse conversion, use HmsToHr.
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.