ProtoFlux:FormatAsTime

From Resonite Wiki
Revision as of 00:16, 21 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Format As Time to ProtoFlux:FormatAsTime: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.