Make your phone or tablet smarter with automation

Get it on Google Play


text clock(type)

Returns the current time of clock type, in seconds.

This function is not idempotent unlike the Now variable, so every call may return a new value.

Clock types:

  • "boottime" — time since device startup, including device sleep/doze duration, guaranteed monotonic.
  • "monotonic" — time since device startup, excluding device sleep/doze duration.
  • "realtime" — current unix timestamp, may jump backwards or forwards unpredictably. See also Now variable.


  1. typetext with type of clock.


  • a number with the current time of clock type, in seconds.
Note! This documentation is also accessible within the app from Help & feedback menu.