ProtoFlux:Format As Time

From Resonite Wiki
Format As Time
Time
*
DecimalPlaces
FormatProvider
Formatting

The Format As Time node takes in the amount of time in seconds and converts it into a string, This string will be formatted with colon separators for each segment of time (Hours, minutes, seconds) automatically. If you want to have more percision to the milliseconds, increase the number of decimal places.

Inputs

Time (float)

The amount of time (in seconds).

DecimalPlaces (int)

The amount of decimal places for the milliseconds.

FormatProvider (IFormatProvider)

An object that supplies culture-specific formatting information.

Nodes that output this type can be found in Strings/Localization

Outputs

* (String)

The string, formatted into time.