ProtoFlux:Set DateTime Kind

From Resonite Wiki
Revision as of 21:00, 20 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the Set DateTime Kind node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Set Date Time Kind
DateTime
*
Kind
DateTime

The Set DateTime Kind node takes in a DateTime and an enum Kind of DateTime, then returns the new DateTime value.

This at first may not do anything visually, but this in fact does change the kind value, and can be seen when using the To Unix Seconds node, showing that it is changing in a point in time rather than offsetting the DateTime.

Inputs

DateTime (DateTime)

The DateTime to change.

Kind (DateTimeKind)

The kind to set for this DateTime.

Outputs

* (DateTime)

The new DateTime value.