In addition to standard EE date formatting, Calendar supports easy-to-use text format versions of dates for all parameters that accept date values. Text dates are relative to today. So for example, you can specify dates like this:
To display all events that fall within today’s date, up to 3 months in the future, you can do something like this:
date_range_start="today" date_range_end="3 months"
Regular date syntax is also available:
When using either YYYY-MM-DD, you may replace one or more of the numeric values with the literal words year, month, and/or day. Calendar will then replace that word with the relevant value for the current date. Examples:
The literal value year-month-day is equivalent to “today”. You may also use the word “last” instead of “day”. Doing so will set the date to the final day of the relevant month. Examples: