<?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: Search Widget displays time in UTC in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303250#M8944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, That did actually correct the six hour time difference. Not sure why it was displaying the time six hours behind, but using your suggested code useutc="true" adds six hours to the time, giving me the correct time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 20:32:58 GMT</pubDate>
    <dc:creator>RyanKammerer1</dc:creator>
    <dc:date>2012-09-13T20:32:58Z</dc:date>
    <item>
      <title>Search Widget displays time in UTC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303247#M8941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was hoping someone out there may have some insight on an issue I'm experiencing. I'm using the standard search widget with flex 2.4 viewer to display Vehicle history. One of the fields I would like the search widget to display is date/time. It displays this just fine, but for some reason, it is converting the time six hours behind. I'm assuming it is for some reason converting this to UTC time (which is six hours behind). I can't figure out how to correct this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on where to check or suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan Kammerer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandy, Utah&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 19:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303247#M8941</guid>
      <dc:creator>RyanKammerer1</dc:creator>
      <dc:date>2012-09-13T19:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget displays time in UTC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303248#M8942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Even back in version 2.4 of the flex viewer you can use a attribute called useutc="true" on a field and you can specify the dateformat as well dateformat="MM/DD/YYYY". So it would look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;field name="MY_DATE" useutc="true" dateformat="MM/DD/YYYY"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer3.0/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer3.0/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 19:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303248#M8942</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-13T19:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget displays time in UTC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303249#M8943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply. Unfortunately, useutc="true" or "false" didn't seem to make a difference. I may be mistaken, because UTC should be six hours AHEAD of my current time. For some reason, the search widget is displaying my current time as six hours BEHIND. In other words, where the current time is 3:15 pm the time displayed from the search widget is 9:15 AM. Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 20:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303249#M8943</guid>
      <dc:creator>RyanKammerer1</dc:creator>
      <dc:date>2012-09-13T20:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search Widget displays time in UTC</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303250#M8944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, That did actually correct the six hour time difference. Not sure why it was displaying the time six hours behind, but using your suggested code useutc="true" adds six hours to the time, giving me the correct time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 20:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-widget-displays-time-in-utc/m-p/303250#M8944</guid>
      <dc:creator>RyanKammerer1</dc:creator>
      <dc:date>2012-09-13T20:32:58Z</dc:date>
    </item>
  </channel>
</rss>

