Skip to content
This repository was archived by the owner on Jan 24, 2021. It is now read-only.

Time Processing

Jude Southworth edited this page Jun 22, 2020 · 1 revision

Time Processing

More detail on the different time processings available in Reminder Bot

Displacement Format

Displacement format is used by many commands to specify timeouts or differences in time from 'now'.

Displacement format uses numbers suffixed by a letter to describe it's significance. Four suffixes are supported: 's', 'm', 'h' and 'd' for seconds, minutes, hours and days respectively. If no suffix is provided, it is assumed to be seconds.

Some examples of displacement format:

"10" would be understood as 10 seconds "10m" would be understood as 10 minutes "1h30m" would be understood as 1 hour and 30 minutes

Absolute Format

The remind and interval commands support using an absolute format for a specific time and date for the reminder to send or initially start.

Absolute format describes an exact instant of time. It formats as DAY/MONTH/YEAR-HOUR:MINUTE:SECOND. This will respect the timezone you are using.

Clone this wiki locally