Back to Index

Definition: now() — Allowed: no arguments; Not allowed: any arguments.

Returns the current timestamp in milliseconds from the host.

Example

tnow = now();
if (tnow - last >= 1000) {
  last = tnow;
  logn("1 second tick");
}