ProtoFlux:ToUnixMilliseconds

From Resonite Wiki
Revision as of 00:37, 21 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:To Unix Milliseconds to ProtoFlux:ToUnixMilliseconds: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
To Unix Milliseconds
DateTime
*
Time

The To Unix Milliseconds node takes in a DateTime and returns with the amount of milliseconds elapsed from that DateTime since January 1st, 1970.

Avoid comparing UTC Now and User Time against each other for validation with this node. It is accurate to say that UTC and local time are different times (hence, time zones), but since they are both this moment in time, the result is the same. This node actually takes a point in time and compares it to the Unix Epoch.

Inputs

DateTime (DateTime)

The DateTime to compare against the start of Unix time.

Outputs

* (long)

Returns the number in milliseconds between the two points in time (the DateTime provided and the Unix Epoch) represented as a long.