FormatTime


The FormatTime function creates a correctly formatted time string from hours, minutes, and seconds components.

Syntax

sHms = FormatTime( nHr, nMin, nSec )

where

    nHr, nMin, nSec are the components of the time value (e.g., 6, 25, and 28.085).

    sHms is the formatted time string (e.g., "6:25:28.085").

  

none

Related Topics

HrToHms

HmsToHr

ParseHms

ParseHours

FormatHmsStr