DegToHms
The DegToHms function converts a time value, in decimal degrees, to a properly formatted string containing hours, minutes, and seconds. This starts from the principle that 360 degrees is equivalent to 24 hours. Use this to convert right ascension, longitude, or clock time.
sHms = DegToHms( nDegrees )
nDegrees is the decimal degrees (e.g., 125.86334).
sHms is a string containing hours, minutes, and seconds (e.g., "8:20:28.085").
This function converts a number of degrees to an angle string containing hours, minutes, and seconds. To do the reverse conversion, use HmsToDeg.
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.