I am trying to query against a date range and am having difficulty with the syntax.
I would like to be able to query for Features that have a planned end date between 30 and 60 days from today but the information I am seeing on your help site don't seem to address this.
https://docs.ca.com/en-us/ca-agile-central/saas/use-grid-app-queries#datesI see how I can get a day, week, month, or quarter but I don't see how to get 30 and 60 days.
I was trying this but it didn't work;
((PlannedEndDate >= "today+30") AND ((PlannedEndDate <= "today+60")
any help would be appreciated.
Date Variables
When writing a query against a date field-such as the end of an iteration-you can use variables to automatically update your app as time progresses. There are many variables available:
Variable |
Meaning |
Timezone associated with your... |
Length |
Today |
current date |
user account |
1 day |
Yesterday |
the day before today |
workspace |
1 day |
Tomorrow |
the day after today |
workspace |
1 day |
LastWeek |
7 days before today |
workspace |
through the end of today |
NextWeek |
7 days after today |
workspace |
from the start of today |
LastMonth |
30 days before today |
workspace |
through the end of today |
NextMonth |
30 days after today |
workspace |
from the start of today to... |
LastQuarter |
90 days before today |
workspace |
through the end of today |
NextQuarter |
90 days today |
workspace |
from the start of today to... |
LastYear |
365 days before today |
workspace |
through the end of today |
NextYear |
365 days after today |
workspace |
from the start of the day to... |
------------------------------
Jeff Myers
Agile Transformation Coach
Unify Consulting
Seattle WA
------------------------------