Component:LocalNullableDateTimeConvertor: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Local Nullable Date Time Convertor
|Name=Local Nullable Date Time Convertor
}}
}}
{{stub}}
The '''NullableLocalDateTimeConvertor''' converts a nullable inputted time to the user's local timezone.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Nullable`1|Nullable`1]]<[[Type:DateTime|DateTime]]>>}}|TypeAdv0=true|
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Nullable`1|Nullable`1]]<[[Type:DateTime|DateTime]]>>}}|TypeAdv0=true| The source field holding the date time to convert.
|LocalDateTime|{{RootFieldType|RawOutput`1|[[Type:Nullable`1|Nullable`1]]<[[Type:DateTime|DateTime]]>}}|TypeAdv1=true|
|LocalDateTime|{{RootFieldType|RawOutput`1|[[Type:Nullable`1|Nullable`1]]&lt;[[Type:DateTime|DateTime]]&gt;}}|TypeAdv1=true| The value of the field targeted by <code>Source</code> converted to the local user's datetime.
}}
}}


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


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 19: Line 21:
[[Category:Components:Data:Conversions{{#translation:}}|Local Nullable Date Time Convertor]]
[[Category:Components:Data:Conversions{{#translation:}}|Local Nullable Date Time Convertor]]
[[Category:Components{{#translation:}}|Local Nullable Date Time Convertor]]
[[Category:Components{{#translation:}}|Local Nullable Date Time Convertor]]
[[Category:ComponentStubs]]

Latest revision as of 05:43, 23 January 2025

Component image 
Local Nullable Date Time Convertor component as seen in the Scene Inspector

The NullableLocalDateTimeConvertor converts a nullable inputted time to the user's local timezone.

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.
Source direct RelayRef`1<IField`1<Nullable`1<DateTime>>> The source field holding the date time to convert.
LocalDateTime raw output of Nullable`1<DateTime> The value of the field targeted by Source converted to the local user's datetime.

Usage

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

Examples

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

See Also