Previous Topic

Next Topic

Book Contents

Book Index

Using Date Strings in Jobs

Formatted Date Strings can be inserted into the Commands, Notes or Notifications sections of a job using variable substitution. Variables are enclosed in double parentheses.

Using date strings as qualifiers in a Commands List

In this example a report requires two qualifiers, the date one week ago and today's date. The formatting OO-DD-YYYYY is used to produce a pattern of the month number, the date and the year separated by dashes.

runreport ((\sys\thisday)) ((\sys\oneweekago))

The resulting evaluated string would look like this (on May 7th):

runreport 5-7-2016 4-30-2016

See Also

Appendix I - Formatting Date Strings in EnterpriseSCHEDULE

Date String Format Specifiers

Date String Formatting Examples

Using Date Strings in Variables

Using a formatted date string in Notifications