Time Macros (8)
Name Description Restriction Compatibility
[Calendar:]UPDATED
Inserts a calendar.
Inserts a calendar into the report, formatted as a table.
[CronHumanReadable:]
Converts a CRON expression to human-readable text.
[CronRunDate:]UPDATED
Outputs the next or last DateTime (in UTC) that a CRON expression will run (or last ran) on.
[DateRange:]UPDATED
Specifies the date range to use
A default of 'last calendar month' applies to all reports. However, you can use the [DateRange:] macro when you want to specify a date range different to the default. This new date range will apply to all subsequent macros in the report.

When using this macro:

  • You may use the macro mid-report.
  • The output files for your report will still appear in the last month's folder, even though the custom date range you have defined may be earlier than this.
  • If you have specified a custom Microsoft Word document property, ReportingPeriod, this should be in the form 'YYYY-MM-DD' or 'YYYY-MM-DD - YYYY-MM-DD'. Then, what you have specified for a DateRange will override the dates set as ReportingPeriod.
  • It is possible to specify a time as well as a date in the following format: 'YYYY-MM-DD HH:mm:ss' e.g. 2016-02-17 13:57:12.
[DateTime:]UPDATED
Inserts a DateTime.
[DateTime.IsInWorkHours:]
Determines whether a DateTime is in working hours.
[DateTime.WorkHoursDuration:]UPDATED
Determines the amount of time between UTC start and end dates that is in working hours.
[TimeSpan:]UPDATED
Inserts a TimeSpan.
Inserts a TimeSpan as a difference between two DateTimes, in the specified units (hours, minutes etc.) OR in the reverse direction by specifying a value.

Reconnection

Reconnection

Reconnection

timed out

timed out

Attempt of

Reload
An unhandled error has occurred. Reload 🗙