Examples, notes, and syntax notes about using date ranges in customized expressions.
The table assumes that today’s date is Monday, November 10, 2011, using the Gregorian calendar.
|Date Range of Report
|Two weeks ago
|First 3 days of the fifth month of last year
|One full week, starting 4 weeks ago
|Last week in the previous year
|One month starting 2 months ago
|12 months ago in the previous year
If today is Monday, November 10, 2011, take the current date and subtract one week to obtain the last full week of October.
Add four months to the beginning of the year (the month of January) to get the month of May; add two days to the first day of the month to get the third day of the month.
Customized expressions covering most date ranges can be created by linking two terms with an operator. A term is a combination of an integer multiplier and a period abbreviation. An example of a term is 18d. An example of an operator is +.