Component:CurrentDateTimeTextDriver

From Resonite Wiki
Component image 
Current Date Time Text Driver component as seen in the Scene Inspector

The CurrentDateTimeTextDriver component takes the current time and formats it using C# DateTime to string using format as an argument.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Target field drive of String What to drive the contents to be the current time formatted.
Pattern DateTimePattern The pattern to use when rendering the date time, EX: 24 vs 12 hr.
UseUTC Bool Whether the current time outputted should be UTC time zone.
OverrideFormat String How to format the outputted current time.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See the .NET Standard date and time format strings for DateTimePattern values:

Examples

See Also