Component:CurrentDateTimeTextDriver: Difference between revisions

From Resonite Wiki
add info
Automated: update Fields
Line 8: Line 8:
{{Table ComponentFields
{{Table ComponentFields
|Target|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true| What to drive the contents to be the current time formatted.
|Target|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true| What to drive the contents to be the current time formatted.
|Format|String| How to format the outputted current time.
|Pattern|DateTimePattern|
|UseUTC|Bool| Whether the current time outputted should be UTC time zone.
|UseUTC|Bool| Whether the current time outputted should be UTC time zone.
|OverrideFormat|String| How to format the outputted current time.
}}
}}



Revision as of 22:29, 16 March 2025

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
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.

Examples

See Also