|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| 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.
|UseUTC|Bool| Whether the current time outputted should be UTC time zone.
|OverrideFormat|String| How to format the outputted current time.
}}
}}
== Usage ==
== Usage ==
{{stub}}
{{stub}}
See the [https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings .NET Standard date and time format strings] for DateTimePattern values:
== Examples ==
== Examples ==
Latest revision as of 22:04, 31 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.