<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Date Values in Filter Expressions in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/date-values-in-filter-expressions/m-p/76125#M346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My service is processing events containing a TimeStamp (Date type) field. When the device sending data to GEP boots, it sends some bad records with a timestamp occuring in 1999. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the filter below but all events were filtered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Operand:&lt;/STRONG&gt;&lt;SPAN&gt; [MyEventDef] [TimeStamp]&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Operator: &lt;/STRONG&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Value: &lt;/STRONG&gt;&lt;SPAN&gt; 01/01/2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What format would I use to properly filter a date field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I would like to use a sliding value for the filter. Is there way to calculate a dynamic value for a filter? Something akin to Timestamp &amp;gt; DateTime.Now().AddDays(-3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 22:11:35 GMT</pubDate>
    <dc:creator>norie</dc:creator>
    <dc:date>2013-09-10T22:11:35Z</dc:date>
    <item>
      <title>Date Values in Filter Expressions</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/date-values-in-filter-expressions/m-p/76125#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My service is processing events containing a TimeStamp (Date type) field. When the device sending data to GEP boots, it sends some bad records with a timestamp occuring in 1999. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the filter below but all events were filtered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Operand:&lt;/STRONG&gt;&lt;SPAN&gt; [MyEventDef] [TimeStamp]&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Operator: &lt;/STRONG&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Value: &lt;/STRONG&gt;&lt;SPAN&gt; 01/01/2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What format would I use to properly filter a date field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I would like to use a sliding value for the filter. Is there way to calculate a dynamic value for a filter? Something akin to Timestamp &amp;gt; DateTime.Now().AddDays(-3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 22:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/date-values-in-filter-expressions/m-p/76125#M346</guid>
      <dc:creator>norie</dc:creator>
      <dc:date>2013-09-10T22:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date Values in Filter Expressions</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/date-values-in-filter-expressions/m-p/76126#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see SlidingTimeWindowFilterServiceSample.docx attached for details on how to achieve what you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Should you require more information please feel free to contact me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vlad Plechnoy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 19:41:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/date-values-in-filter-expressions/m-p/76126#M347</guid>
      <dc:creator>VladislavPlechnoy</dc:creator>
      <dc:date>2013-09-11T19:41:35Z</dc:date>
    </item>
  </channel>
</rss>

