<?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 Re: TimeSlider connected to columns containing milliseconds instead of UTC Date in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518733#M48361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention one important information: I'm drawing country borders, not points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The borders are part of the layer definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map service contains two layers, feature layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There was a rowcount restriction to 1.000 rows, so we changed it to 1.000.000, but the timeslider is still not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would by highly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. We've figured out, how to write the query for the date column, it's for example: dateColumn = date'01/01/2012'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 05:21:08 GMT</pubDate>
    <dc:creator>ghostbanderas</dc:creator>
    <dc:date>2013-04-04T05:21:08Z</dc:date>
    <item>
      <title>TimeSlider connected to columns containing milliseconds instead of UTC Date</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518732#M48360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problem using TimeSlider (ArcGIS online), which shows data according to date columns (type: esriFieldTypeDate , alias: DateFieldFrom , length: 8; type: esriFieldTypeDate , alias: DateFieldTill , length: 8).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think, that the main problem is, that when I use query, the result for the Date columns is something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1056468000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1112103600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1060897600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's obvious, that these are milliseconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using this example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/time_sliderwithdynamiclayer.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/time_sliderwithdynamiclayer.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just changed the rows with my relevant data: e.g. map service address, layerDefinition and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm displaying data week by week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I right, that the milliseconds data could by the cause, why the TimeSlider is not working ? I can run the TimeSlider, but nothing happens on the map. Yes, there should be changes within the time period that I'm running the TimeSlider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The other suspicious thing is the date length. In case of UTC length 8 is probably not enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The last thing I can think off is, that the map service doesn't have TimeZone set to UTC. TimeZone is blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The last catch is, that I'm just using a map service created by someone else, I can't change the map service by myself. So I need to convince this person, that these milliseconds are not OK and that an UTC date format is needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe there is some solution to work this using javascript, but I haven't found any. Help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 12:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518732#M48360</guid>
      <dc:creator>ghostbanderas</dc:creator>
      <dc:date>2013-04-02T12:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: TimeSlider connected to columns containing milliseconds instead of UTC Date</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518733#M48361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention one important information: I'm drawing country borders, not points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The borders are part of the layer definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map service contains two layers, feature layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There was a rowcount restriction to 1.000 rows, so we changed it to 1.000.000, but the timeslider is still not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would by highly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. We've figured out, how to write the query for the date column, it's for example: dateColumn = date'01/01/2012'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 05:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518733#M48361</guid>
      <dc:creator>ghostbanderas</dc:creator>
      <dc:date>2013-04-04T05:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: TimeSlider connected to columns containing milliseconds instead of UTC Date</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518734#M48362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've run through another data analysis and the results are weird.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've run query on my layer and the date column values are probably incorrect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I look into our database for the date columns, the data is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have date columns: DateFrom, DateTo, which means DateFrom &amp;lt; DateTo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Result of the rest query is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom:1159488000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; :1149897600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I presume, that this values are milliseconds since 01.01.1970, then DateFrom value in milliseconds should be lower than DateTo value. Am I right ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other rows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW2: looks ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1160092800000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1160697600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW3: looks ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1160697600000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1161302400000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW4: looks ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1161302400000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1161907200000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW5: wrong ! DateTo is lower than DateFrom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1161907200000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1142035200000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW6: wrong again&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1162512000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1160524800000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ROW9: wrong ! DateTo is lower than DateFrom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateFrom: 1164326400000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DateTo: 1137024000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me please, what could be the reason of this date situation and how to solve it ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 10:19:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518734#M48362</guid>
      <dc:creator>ghostbanderas</dc:creator>
      <dc:date>2013-04-04T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: TimeSlider connected to columns containing milliseconds instead of UTC Date</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518735#M48363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The TimeSlider is OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The dates in milliseconds are OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The "DateFrom higher than DateTill is higher" issue is probably solved too. Seems to be the problem of exporting data from excel to csv and arcgis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My knowledge about arcgis api for javascript is very low, so that's the reason of the previous questions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 05:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/timeslider-connected-to-columns-containing/m-p/518735#M48363</guid>
      <dc:creator>ghostbanderas</dc:creator>
      <dc:date>2013-04-11T05:00:14Z</dc:date>
    </item>
  </channel>
</rss>

