<?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: Problem with Dates in Popup in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324544#M9419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;format dateformat="shortDateShortTime24" useutc="true"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 23:00:06 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-11-29T23:00:06Z</dc:date>
    <item>
      <title>Problem with Dates in Popup</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324542#M9417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Date/time shown in my popus is not the same as the database it is coming from.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the popup shows 11/30/2011 11:07 while the database has 30/11/2011 00:37:02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Very Strange i think it is being converted to Universal time/ Greenich mean time&amp;nbsp; (UT\GMT)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is very problematic as it means that our website shows lightning that will happen in the future!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;here is a section of the the popup xml i have attached pics of popup and database showing time and the id field&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[Time: &amp;lt;b&amp;gt; {TIME_} &amp;lt;/b&amp;gt;&amp;lt;BR&amp;gt;ID: {id}&amp;lt;BR&amp;gt;Lat: &amp;lt;b&amp;gt;{latitude}&amp;lt;/b&amp;gt;&amp;lt;BR&amp;gt;Longitude: &amp;lt;b&amp;gt;{longitude}&amp;lt;/b&amp;gt;&amp;lt;BR&amp;gt;with an intensity of &amp;lt;b&amp;gt; {amplitude} &amp;lt;/b&amp;gt;]]&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;fields&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="TIME_"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;format dateformat="shortDateShortTime24"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/fields&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 22:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324542#M9417</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-11-29T22:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Dates in Popup</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324543#M9418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Jitesh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a limitation with the time field in REST services. There is a software defect logged related to this issue : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM068785- There is a date conversion problem while saving edits for a feature layer. The time gets automatically converted to UTC format while trying to save the local time in a date datatype object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST API specification requires that the datetime be stored in UTC. The workaround is to store date in UTC or add a logic in your application to convert UTC date to LocalTime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 22:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324543#M9418</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-29T22:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Dates in Popup</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324544#M9419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;format dateformat="shortDateShortTime24" useutc="true"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 23:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324544#M9419</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-11-29T23:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Dates in Popup</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324545#M9420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Hay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; just ended up using a utc field for the popup data and an est (eastern standard time) for the labels, the pop gets converted to est on way through to web app &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;very odd but it works now&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 22:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324545#M9420</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-30T22:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Dates in Popup</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324546#M9421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks &lt;BR /&gt;just ended up using a utc field for the popup data and an est (eastern standard time) for the labels, the pop gets converted to est on way through to web app &lt;BR /&gt;very odd but it works now&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you by any chance consuming data from Vaisala?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 13:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/problem-with-dates-in-popup/m-p/324546#M9421</guid>
      <dc:creator>RichardDiaz</dc:creator>
      <dc:date>2012-01-25T13:45:14Z</dc:date>
    </item>
  </channel>
</rss>

