<?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: Does ArcServer know which time zone i am in? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664519#M62005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the javascript api 2.6 with the out-of-the-box editor widget.&amp;nbsp; I verified that the attribute inspector converts the time to UTC properly.&amp;nbsp; For example, I'm in MST, GMT-7:00.&amp;nbsp; I created a point at 11:56 MST and populated a date/time field with the default calendar dijit.&amp;nbsp; Later, I identify that point and it shows properly 18:56 UTC.&amp;nbsp; I double-checked the feature in the query operation web page of the service endpoint and verified it's 18:56 UTC.&amp;nbsp; Our SDE instance is in SQL Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you creating that feature?&amp;nbsp; Through a javascript web app or something else?&amp;nbsp; Can you verify the epoch value of what's being sent to the server when creating?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I create a feature in my application, Oracle adds a date time stamp like DateTime.Now() via C#.&lt;BR /&gt;I look at the date created inside of oracle and it looks fine.&lt;BR /&gt;I then query my data with the rest api and i get back an epoch value (incidentally, where is that documented by esri?). I convert that epoch value and I get a UTC value.&lt;BR /&gt;Or, I use the rest service test page and I get back the same UTC value.&lt;BR /&gt;&lt;BR /&gt;So here is that catch. I create my feature at 10am Eastern Time. Oracle says it was created at 10:00:01 AM. But when esri returns it to me it says it is 2011/04/06 10:00:01 UTC.&lt;BR /&gt;&lt;BR /&gt;Anyone see something wrong with that? Esri just assumed I was working in Greenwich England!&lt;BR /&gt;Why is the time returned in UTC? Why would they make that assumption?&lt;BR /&gt;Is there somewhere that I can tell the api what time zone i am in?&lt;BR /&gt;&lt;BR /&gt;I am using api 2.1 with ags 10 sp1&lt;BR /&gt;&lt;BR /&gt;Am i missing something? It could be something very simple, but i am confused&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2011 17:01:08 GMT</pubDate>
    <dc:creator>DavidHollema</dc:creator>
    <dc:date>2011-12-16T17:01:08Z</dc:date>
    <item>
      <title>Does ArcServer know which time zone i am in?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664516#M62002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I create a feature in my application, Oracle adds a date time stamp like DateTime.Now() via C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I look at the date created inside of oracle and it looks fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then query my data with the rest api and i get back an epoch value (incidentally, where is that documented by esri?). I convert that epoch value and I get a UTC value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, I use the rest service test page and I get back the same UTC value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So here is that catch. I create my feature at 10am Eastern Time. Oracle says it was created at 10:00:01 AM. But when esri returns it to me it says it is 2011/04/06 10:00:01 UTC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone see something wrong with that? Esri just assumed I was working in Greenwich England!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is the time returned in UTC? Why would they make that assumption?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there somewhere that I can tell the api what time zone i am in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using api 2.1 with ags 10 sp1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am i missing something? It could be something very simple, but i am confused&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 23:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664516#M62002</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2011-04-06T23:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does ArcServer know which time zone i am in?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664517#M62003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same question...have you heard/found out more regarding this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 15:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664517#M62003</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2011-12-13T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does ArcServer know which time zone i am in?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664518#M62004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes there has been a change, see below forum for more info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/20426-Did-the-date-format-change-for-Query-REST-Post-JSON-responses-at-ags-10"&gt;http://forums.arcgis.com/threads/20426-Did-the-date-format-change-for-Query-REST-Post-JSON-responses-at-ags-10&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 19:37:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664518#M62004</guid>
      <dc:creator>JasonWarzinik</dc:creator>
      <dc:date>2011-12-13T19:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Does ArcServer know which time zone i am in?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664519#M62005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the javascript api 2.6 with the out-of-the-box editor widget.&amp;nbsp; I verified that the attribute inspector converts the time to UTC properly.&amp;nbsp; For example, I'm in MST, GMT-7:00.&amp;nbsp; I created a point at 11:56 MST and populated a date/time field with the default calendar dijit.&amp;nbsp; Later, I identify that point and it shows properly 18:56 UTC.&amp;nbsp; I double-checked the feature in the query operation web page of the service endpoint and verified it's 18:56 UTC.&amp;nbsp; Our SDE instance is in SQL Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you creating that feature?&amp;nbsp; Through a javascript web app or something else?&amp;nbsp; Can you verify the epoch value of what's being sent to the server when creating?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I create a feature in my application, Oracle adds a date time stamp like DateTime.Now() via C#.&lt;BR /&gt;I look at the date created inside of oracle and it looks fine.&lt;BR /&gt;I then query my data with the rest api and i get back an epoch value (incidentally, where is that documented by esri?). I convert that epoch value and I get a UTC value.&lt;BR /&gt;Or, I use the rest service test page and I get back the same UTC value.&lt;BR /&gt;&lt;BR /&gt;So here is that catch. I create my feature at 10am Eastern Time. Oracle says it was created at 10:00:01 AM. But when esri returns it to me it says it is 2011/04/06 10:00:01 UTC.&lt;BR /&gt;&lt;BR /&gt;Anyone see something wrong with that? Esri just assumed I was working in Greenwich England!&lt;BR /&gt;Why is the time returned in UTC? Why would they make that assumption?&lt;BR /&gt;Is there somewhere that I can tell the api what time zone i am in?&lt;BR /&gt;&lt;BR /&gt;I am using api 2.1 with ags 10 sp1&lt;BR /&gt;&lt;BR /&gt;Am i missing something? It could be something very simple, but i am confused&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 17:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-arcserver-know-which-time-zone-i-am-in/m-p/664519#M62005</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2011-12-16T17:01:08Z</dc:date>
    </item>
  </channel>
</rss>

