ProtoFlux:Format Timespan

From Resonite Wiki
Revision as of 23:40, 16 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the Format Timespan node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Format Timespan
TimeSpan
*
ShowSeconds
ShowMilliseconds
FormatProvider
Formatting

The Format Timespan node takes in a TimeSpan and extra parameters to convert it into a string.

Inputs

TimeSpan (TimeSpan)

The TimeSpan to use for this string.

ShowSeconds (bool)

Show seconds in this formatted string.

ShowMilliseconds (bool)

Show milliseconds in this formatted string.

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 from a TimeSpan.