Open Rails

FormatStrings.FormatTime Method

[This is preliminary documentation and subject to change.]

Converts duration in floating-point seconds to whole hours, minutes and seconds (rounded down).

public static string FormatTime(
   double clockTimeSeconds
);

Parameters

clockTimeSeconds

Return Value

The time in HH:MM:SS format.

See Also

FormatStrings Class | ORTS.Common Namespace