ProtoFlux:From Unix Seconds

From Resonite Wiki
From Unix Seconds
UnixSeconds
*
IsLocal
Time

The From Unix Seconds node takes in the Unix seconds 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 seconds given will count up from the Unix epoch.

Inputs

UnixSeconds (long)

The total Unix seconds for converting into a DateTime.

IsLocal (bool)

Should adjust for local time.

Outputs

* (DateTime)

Returns the DateTime from the Unix seconds.