Open Rails

FormatStrings.FormatPreciseTime Method

[This is preliminary documentation and subject to change.]

Converts duration in floating-point seconds to whole hours, minutes and seconds and 2 decimal places of seconds.

public static string FormatPreciseTime(
   double clockTimeSeconds
);

Parameters

clockTimeSeconds

Return Value

The time in HH:MM:SS.SS format.

See Also

FormatStrings Class | ORTS.Common Namespace