Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Set the Sensor time of the current data record. Used for display, filter, sorting

The Timestamp must be in JS style and thus in milli seconds

Code Block
Record.setTime(new Date(timestamp_ms));


Note

When the parser output has a field called "time" on top level, it will be used like Record.setTime() was called

We might remove this in future. So always call Record.setTime() explicitly.



Get the time when the data was received by the server in ms, compatible with new Date(...).

...