Date Event
Specifies the date event. This value requires a specified Date Format.
Syntax:
event="
YourDateEvent
"
Where YourDateEvent
can contain any of the following:
Date Event |
Description |
---|---|
START_WEEK
|
Start of the week relative to the current date. |
END_WEEK
|
End of the week relative to the current date. |
START_MONTH
|
Start of the month relative to the current date. |
END_MONTH
|
End of the month relative to the current date. |
START_YEAR
|
January 1 of the current year. |
END_YEAR
|
December 31 of the current year. |
START_QUARTER
|
Start of the quarter relative to the current date. |
END_QUARTER
|
End of the quarter relative to the current date. |
Sample Code
<date format="mm/dd/yyyy" event="START_WEEK" />
Results in an event at the start of the current week. If the current date is 12/05/2014, the event is the Monday of that week (12/01/2014).
<date format="yyyy-mm-dd" event="END_QUARTER" />
Results in an event at the end of the current quarter. If the current date is 2014-11-01, the event is the end of the fourth quarter of 2014.
<date offset="-1y" event="END_YEAR"/>
Results in an offset and event at the end of last year.