ProtoFlux:From Unix Seconds

From Resonite Wiki
Revision as of 06:04, 20 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the From Unix Seconds node.)
(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.