Why below script/ query is not working after passing 2 dates in addEncodedQuery ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 07:49 AM - edited 09-16-2024 10:12 AM
Hi All,
I am trying to pass 2 dates in addEncodedQuery but its not working. There is some mistake while passing the dates parameter but not clear on this. Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 01:32 PM
Hi Virendra K,
Below code worked for me.
Please mark helpful, if it works for you.
Thanks,
Suman.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 04:40 AM
Thanks for the reply @SumanKumarM
Challenge is, I want to check the dates in between start_date_time and end_date_time.
suppose,
start date =2024-09-17 06:22:00
End date = 2024-09-19 06:20:35
so I will pass the above date range and try to check the dates which is within the range. for ex: 2024-09-18
I am trying to pass like "start_date_time>=20110105T010000^end_date_time<=20110105T050000" but no luck.