Select to view content in your preferred language

Using dates in filters?

2250
2
02-14-2017 10:51 PM
SimonJackson
Frequent Contributor

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
ThomasRickett
Occasional Contributor

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

0 Kudos
wizgis
by
Frequent Contributor

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

0 Kudos