Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:FromUnixSeconds

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

Returns the DateTime from the Unix seconds.