Time formats
ISO 8601's repeating intervals format was developed to provide a standardized way to represent recurring time periods, ensuring clear communication across different systems and cultures.
The format is:
R[n]/[start]/[end]
R[n]
: Indicates repetition. "R" stands for "repeat" and "[n]" is the number of repetitions. If "[n]" is omitted, the interval repeats indefinitely.[start]
: The beginning of the interval in standard date-time format.[end]
: The end of the interval, either as a date-time or a duration.
Example: R5/2023-08-10T10:00:00Z/2023-08-10T11:00:00Z
means an event starts at 10:00 UTC on August 10, 2023, ends at 11:00 UTC the same day, and repeats 5 times.
Most usual use cases
Scenario | Format | Description |
---|---|---|
Once | yyyy-mm-ddThh:mm:ssZ |
|
Every day at the same time | R/Thh:mm:ssZ/P1D |
|
At exact days of the week on specific time | R/Mon,Wed,FriThh:mm:ssZ/P1W |
|
Same day at several months at the same time | R/Jan,Apr,Jul-10T06:00:00Z/P3M |
|
Several different days in any selected month at the same time | R/Jan-05,10,Apr-05,10,Jul-05,10Thh:mm:ssZ |
|
Other configuration
Use case | Description | |
---|---|---|
Change time zone | 2023-08-10T06:00:00+02:00 | UTC Time:
Time Zone Offset:
|
Repeat task | R5/2023-08-10T06:00:00Z/P1D | This means the event starts at 6:00 AM UTC on August 10, 2023, and repeats daily 5 times. |
Last updated