Forum Discussion
mirzay
08-08-2022Cloud Apps
Thank you for the response Priyanka. I am not getting the expected result.
(Converted to Months instead of days but tried both ways)
I am expecting the range to be last 6 months to end of next month. What I get are these dates.
Anonymous
08-08-2022You can use this script to get the range to be last 6 months to the end of next month:
{
"or": [
{
"last": {
"count": 6,
"offset": 0
}
},
{
"next": {
"count": 1,
"offset": 1
}
}
]
}