FormatHmsStr


The FormatHmsStr function converts a time string in HMS form into a properly formatted time string. Use this function, for example, to convert "12, 14, 15.6" to "12:14:15.600"

Syntax

sHmsNew = FormatHmsStr( sHms )

bullet.gif    sHms is the string to be converted (e.g., "12, 14, 15.6").

bullet.gif    sHmsNew is the properly formatted time string (e.g., "12:14:15.600").

Remarks

Use this function to clean input strings and convert them into the standard format. The standard format string can be sent to other Mira functions expecting a properly formatted time string.

Related Topics

HrToHms

HmsToHr

ParseHms

ParseHours

FormatTime


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