Select to view content in your preferred language

Using dates in filters?

02-14-2017 10:51 PM
Occasional Contributor III

I am listening to a public JSON feed for alerts.

Each result packet in the JSON includes forecast information.

I am only interested in the packet that matches todays date.

The data is in the format dd/mm/yyyyy and is a date type in the geoevent definition.

What is the most elegant way to filter this feed to just flow through todays date?  

I did see this post to check if a date is within a given tolerance.  But hoping I can somehow achieve my goal purely with one filter?  Just not entirely sure if you can use date functions/expressions in a filter?

2 Replies
New Contributor III

I have version 10.7. I have the same question. How do I setup a date filter in GeoEvent Services?

0 Kudos
Occasional Contributor II

I am also facing the same issue. Any inputs would be appreciated.

0 Kudos