ProtoFlux:From Unix Milliseconds

From Resonite Wiki
From Unix Milliseconds
UnixMilliseconds
*
IsLocal
Time

The From Unix Milliseconds node takes in the Unix milliseconds and then converts it into a DateTime, along with an option to offset it to make it a local DateTime (based on your time zone). The amount of milliseconds given will count up from the Unix epoch.

Inputs

UnixMilliseconds (long)

The total Unix milliseconds for converting into a DateTime.

IsLocal (bool)

Should adjust for local time.

Outputs

* (DateTime)

Returns the DateTime from the Unix milliseconds.