You can express the date in various formats as follows:
An ordinal defines an item's position in a series. The ordinal qualifiers are as follows:
You can use ordinal numbers with scheduling terms, for example 2ND MONDAY OF YEAR. You can use more than one ordinal, as in 3RD AND 4TH MONTH OF YEAR.
For example, specify the first Monday of each month as 1ST MONDAY OF MONTH or 1ST MONDAY MONTHLY. 10AM 3RD MONTHLY requests activity at 10 a.m. on the third day of each month.
If you use an ordinal number with a scheduling term (other than with the starting parameter) without stating what the schedule term refers to, CA Workload Automation DE assumes the following defaults:
|
Schedule Term |
Default |
|---|---|
|
date, day name, or workday |
of month |
|
week or month |
of year |
|
holiday |
of month |
For example, if you specify 3RD FRIDAY AT 9AM, the schedule occurs at 9 a.m. on the third Friday of every month, while 9AM LAST HOLIDAY occurs on the last holiday of the calendar month at 9 a.m.
CA Workload Automation DE recognizes a number joined to the name of a month as a day of the month, for example JUN3, 22OCT, 6NOV2006.
You can also use the ordinal qualifiers st, nd, rd, or th with a month name, as in JANUARY21ST or AUGUST29th. Alternatively, you can specify JAN 21 or 29th AUGUST.
You can use a phrase that describes a range of inclusive dates. To separate the date range, you must use a hyphen (-). For example, you can specify 3RD-6TH DAY OF MONTH.
The following calendar terms are implied periods:
For example, ANYDAY OF 2ND WEEKEND OF THE MONTH refers to the second weekend of all the months, 3RD DAY OF LAST WEEK OF YEAR refers to the third day of last week of any year, and 5TH WORKDAY OF 2ND WEEK OF YEAR refers to the fifth workday of the second week of any year.
CA Workload Automation DE recognizes the date format yyyy/mm/dd or yyyy-mm-dd, where yyyy is the year number, mm is the month number, and dd is the day number.
The following table shows how you would express January 2, 2006 using these two formats:
|
Format |
Example |
|---|---|
|
yyyy/mm/dd |
2006/01/02 or 2006/1/02 |
|
yyyy-mm-dd |
2006-01-02 or 2006-1-02 |
Examples: Schedule Criteria for Various Date Combinations
The following table displays examples of schedule criteria categorized by occurrence:
|
Occurrence |
Schedule Criteria to Enter |
|---|---|
|
4 p.m. each day between November 6, 2006 and April 22, 2007 |
4pm daily starting Nov 6,2006 ending 4:01pm Apr 22,2007 Note: To ensure the ending date is included, include a time on the ending date. |
|
Every Saturday in June starting in the year 2006 |
Saturday of June starting June 1 2006 |
|
8 a.m. on the last Saturday of each month, beginning in October 2000 |
8:00 last saturday of month starting October 1, 2000 |
|
15th day of March, June, and August |
15th day of March June August |
|
First weekday (Monday through Friday) on or after the 15th day of the month |
15th day of month plus 0 weekdays |
|
Last day of month only in months that have 31 days |
31st day within month |
|
February 29th in leap years |
29th day within Feb Note: Without the “within” keyword, Events scheduled to run on February 29 run on March 1 in non-leap years. |
|
Friday after the 1st Sunday of the month |
1st Sunday of month plus 5 days |
|
First Friday after the 3rd Thursday of each month |
3rd Thursday of this month plus 1 day Note: If the month starts on a Friday, this criterion will not be the 3rd Friday of the month. |
|
First Saturday of the month. If this is the first day of the month, run on second Saturday of month instead. |
Saturday 2nd monthly Note: CA Workload Automation DE interprets the preceding expression as the first Saturday on or after the 2nd day of the month. |
|
10 a.m. on the 3rd, 13th, and 23rd day of month |
10am 3rd 13th 23rd day of month |
|
6 a.m. daily from the 10th to 20th day of each month inclusive |
6am 10th - 20th day of month |
|
3rd, 9th, 10th, 11th, 12th, 14th workday of each month |
3rd 9th - 12th 14th workday of month |
|
Third and fourth Sundays of month if four Sundays in month; otherwise, third and fifth Sundays of month if five Sundays in month |
3rd and last Sunday of month |
|
Each year on July 23 |
July 23 yearly |
|
300th day of 2002 |
2002.300 |
|
December 21, 2002 |
2002/12/21 |
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|