Format Duration HMS

Pure
FormatDurationHMS

Formats a duration in seconds to HH:MM:SS string format.

Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date

Inputs

NameTypeDefaultDescription
TotalSecondsfloatTotalSeconds parameter

Outputs

NameTypeDescription
ReturnValueFStringReturnValue output

Example Use Cases

Example 1

Display a match timer.

Example 2

Show total playtime in a save file.