ProtoFlux:Set DateTime Kind

From Resonite Wiki
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.