Component:CurrentDateTimeTextDriver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Current Date Time Text Driver
|Name=Current Date Time Text Driver
}}
}}
{{stub}}
The '''CurrentDateTimeTextDriver''' component takes the current time and formats it using C# DateTime to string using format as an argument.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Target|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true|
|Target|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true| What to drive the contents to be the current time formatted.
|Format|String|
|Format|String| How to format the outputted current time.
|UseUTC|Bool|
|UseUTC|Bool| Whether the current time outputted should be UTC time zone.
}}
}}


== Behavior ==
== Usage ==
{{stub}}


== Examples ==
== Examples ==
Line 20: Line 21:
[[Category:Components:Utility{{#translation:}}|Current Date Time Text Driver]]
[[Category:Components:Utility{{#translation:}}|Current Date Time Text Driver]]
[[Category:Components{{#translation:}}|Current Date Time Text Driver]]
[[Category:Components{{#translation:}}|Current Date Time Text Driver]]
[[Category:ComponentStubs]]

Revision as of 19:09, 11 January 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.
Format String How to format the outputted current time.
UseUTC Bool Whether the current time outputted should be UTC time zone.

Usage

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

Examples

See Also