beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Milliseconds Op

Milliseconds

Value since the time origin in milliseconds (performance.now())


OP returns a value since time origin, a standard time which is considered to be the beginning of the current document's lifetime, with rounding that depends on the security mitigations implemented by the browser.

Learn more about Time Origin and performance.now()
https://developer.mozilla.org/en-US/docs/Web/API/Performance/now


Edit Documentation

Full Name
  • Ops.Date.Milliseconds
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

Example Patch Example Milliseconds

Displays time value since Time Origin.

In this example, click the canvas to return the elapsed time since opening the patch.

Open In Editor

INPUT PORTS


update (Trigger)

OUTPUT PORTS


Result (Number)

Usages of Milliseconds

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


created opuser avatarpandur - 2020-01-06
Ops.Admin.PerformanceNow renamed to Ops.Time.Millisecondsuser avatarpandur - 2021-06-17
renameOps.Time.Milliseconds renamed to Ops.Date.Millisecondsuser avatarpandur - 2023-12-06