ProtoFlux:Format As Time

From Resonite Wiki
Revision as of 23:11, 16 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the Format As Time node.)
(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.