ProtoFlux:FromUnixSeconds

From Resonite Wiki
Revision as of 00:20, 21 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:From Unix Seconds to ProtoFlux:FromUnixSeconds: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.