Skip to content

Time travel ​

Use time travel to run one request while your application believes it is another date and time. It helps with expiring tokens, trial periods, scheduled content and anything else that depends on the clock.

Set the time ​

  1. Open Request options in the endpoint bar.

  2. Select Set current time. A dialog opens.

  3. Choose how to set the time.

    • Relative to now takes a quick pick such as +1d, or your own value such as +1h, -2d or +1w 3d.
    • Exact date and time takes a date and time from the picker.
  4. Check the preview under the fields. It shows the time your application clock will read.

  5. Click Apply. The button stays disabled until the value is valid.

  6. Send the request.

    The time travel dialog

Relative values ​

The units are s, m, h, d, w, mo and y. Each amount is a whole number from 1 to 9999. Parts without a sign use the sign before them. The quick picks are +1h, +1d, +1w, +1mo, +1y, -1d, -1w and -1mo.

A relative time is counted from the moment the request runs. The preview is shown in your browser time.