<?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 DefinitionExpression without or in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58555#M5163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using JavaScript. &lt;/P&gt;&lt;P&gt;I am looking for a way to write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time&amp;nbsp; &amp;gt;= '21:00'AND Time &amp;lt;= '23:59:59' OR Time &amp;gt;= '00:00:01' AND Time &amp;lt;= '02:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without an OR statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I really need is time (9pm-2am). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 15:46:33 GMT</pubDate>
    <dc:creator>RickeyFight</dc:creator>
    <dc:date>2015-06-03T15:46:33Z</dc:date>
    <item>
      <title>DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58555#M5163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using JavaScript. &lt;/P&gt;&lt;P&gt;I am looking for a way to write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time&amp;nbsp; &amp;gt;= '21:00'AND Time &amp;lt;= '23:59:59' OR Time &amp;gt;= '00:00:01' AND Time &amp;lt;= '02:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without an OR statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I really need is time (9pm-2am). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58555#M5163</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-06-03T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58556#M5164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rickey, I haven't tried this; however, I believe you may be able to use the BETWEEN operator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14334297748662231" data-renderedposition="50_8_912_16" jivemacro_uid="_14334297748662231"&gt;&lt;P&gt;Time&amp;nbsp; between '21:00:00' and '02:00:00'&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58556#M5164</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-06-04T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58557#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't &lt;STRONG&gt;Time&amp;nbsp; &amp;gt;= '21:00' AND Time &amp;lt;= '02:00'&lt;/STRONG&gt; this work. since its a 24 hour time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58557#M5165</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2015-06-04T16:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58558#M5166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should work, too. Many ways to skin a cat!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 17:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58558#M5166</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-06-04T17:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58559#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thejus and Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither of these returns results. I am using this in a definitionexpression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They both work for times that are within 24 hrs. Such as 6am-8pm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OR statement works but for some reason that messes up the rest of the definitionexpression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 17:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58559#M5167</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-06-04T17:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: DefinitionExpression without or</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58560#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought of another way that does work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOT Time BETWEEN '03:00:00' AND '21:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both for your input. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 17:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/definitionexpression-without-or/m-p/58560#M5168</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-06-04T17:47:37Z</dc:date>
    </item>
  </channel>
</rss>

