<?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: question for identify widget for &amp;quot;useutc&amp;quot; in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249048#M7631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Have you verified the dates in ArcMap? I have tested the use utc code with my date and time sensitive data and it works fine for converting UTC to Central time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 12:46:03 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2013-03-11T12:46:03Z</dc:date>
    <item>
      <title>question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249039#M7622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put my question in this forum, hope can put my screen shot and the config file here to make the question clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the useutc="treu" in the identfy widget for flex api 2.5, but it still show the UTC time not the local time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything is wrong in file? please advise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249039#M7622</guid>
      <dc:creator>ZhujingXia</dc:creator>
      <dc:date>2013-03-07T19:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249040#M7623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Are you using the compiled widget or the source code. As this is a 2.5 version of the widget I will not be releasing a fix (I only fix current releases) for this if it is a bug bug I can guide you to make any code change that would be needed. I have checked as I said in my earlier comment that the last 2.5.x version of the widget I have on my system, does contain the useutc code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 20:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249040#M7623</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-07T20:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249041#M7624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the source code for identify widget 2.5, I tried to use 3.0 as well, but it did not work neither.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 13:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249041#M7624</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-08T13:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249042#M7625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Please attach the version of the widget that you are using and tell me the time zone you are using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249042#M7625</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-08T14:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249043#M7626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code. there is UTC time in the database, but I'd like to show in Eastern Time Zone which should 5 hour less than the UTC time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249043#M7626</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-08T14:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249044#M7627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; OK the issue was that the identify task returns a string date and therefor my code to adjust based on useutc was being skipped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the changes you need to make. Find the onResult function and then this block of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Old Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (isDateField &amp;amp;&amp;amp; (value != "Null" || value != "")){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dateMS:Number = Number(value);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!isNaN(dateMS))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = msToDate(dateMS, dateFormat, useUTC);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And replace it with this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;New Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (isDateField &amp;amp;&amp;amp; (value != "Null" || value != "")){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (isNaN(Number(value)) == true){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pDate:Date = new Date(value);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = msToDate(pDate.getTime(), dateFormat, useUTC);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = msToDate(Number(value), dateFormat, useUTC);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249044#M7627</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T12:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249045#M7628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the code, it returned just the date without the time. How could I show the local time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following is my code in the cofig file. Is that because I need use other date format instead of "YYYY/MM/DD"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhujing&lt;/SPAN&gt;&lt;BR /&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; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="C_FIRSTNAME" alias="FirstName"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="C_REPORTEDTIME" dateformat="YYYY/MM/DD" useutc="true"/&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>Fri, 08 Mar 2013 18:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249045#M7628</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-08T18:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249046#M7629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You just use a dateformat that includes all you want to see.&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;dateformat="MM/DD/YYYY LL:NN A"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 18:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249046#M7629</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-08T18:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249047#M7630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know what is the dataformat for Eatern Time Zone? the follow in dateformate shows 2 hours early than my local time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dateformat="MM/DD/YYYY LL:NN A"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 12:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249047#M7630</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-11T12:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249048#M7631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Have you verified the dates in ArcMap? I have tested the use utc code with my date and time sensitive data and it works fine for converting UTC to Central time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 12:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249048#M7631</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-11T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249049#M7632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The time shows in arcmap as 3:00 PM, the time shows in browser as 8:00PM(5 hours ahead that UTC). It should be 10:00AM my local time(5 hours late that UTC). See my screen shot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 14:22:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249049#M7632</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-11T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249050#M7633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; And wen you set the useutc="false" what does it show?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 14:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249050#M7633</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-11T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249051#M7634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roblert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I set the useutc="false", the result will show the as time as in arcmap (3:00PM)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 15:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249051#M7634</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-11T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249052#M7635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; And that is what you want right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 15:16:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249052#M7635</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-11T15:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249053#M7636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No. i like it to show as 10:00AM of my local time, not 3:00PM (in arcmap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) if i use &amp;lt;field name="C_REPORTEDTIME" dateformat="MM/DD/YYYY LL:NN A" useutc="true"/&amp;gt;,&amp;nbsp; the time shows as 8:00PM not (10:00Am)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) if i use &amp;lt;field name="C_REPORTEDTIME" useutc="false"/&amp;gt;, the time shows as 3:00PM not 10:AM neither.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 16:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249053#M7636</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-11T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249054#M7637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Zhujing,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The issue is that REST converts any date/time to UTC. So if you have a date that is showing up in ArcMap as 3 pm then a REST query of this data would return it as 10 am. But the big difference is that the Identify task returns the date/time EXACTLY as it is in ArcMap 3 pm and when you set useutc the widget is expecting the datetime to be in UTC and thus ADDs the local UTC time offset to the date/time returned. The useutc attribute is to correct the date/time to LOCAL time NOT make the date/time UTC. You could go in the code and have it subtract the UTC time offset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 16:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249054#M7637</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-03-11T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249055#M7638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: zhujingx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed code in IdentifyWidget.mxml, under private function msToDate(ms:Number, dateFormat:String, useUTC:Boolean):String &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code used to be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (useUTC)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date.minutes += date.timezoneOffset; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date.minutes += -300;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is something not right for date.timezoneOffset, I use fixed number there instead of variable. In the cofig file, i still keep use the code like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;field name="C_REPORTEDTIME" dateformat="MM/DD/YYYY LL:NN A" useutc="true"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhujing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 17:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249055#M7638</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-03-11T17:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: question for identify widget for "useutc"</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249056#M7639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, thanks for the information about the REST queries and date/time, it was helpful for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcelo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 16:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/question-for-identify-widget-for-quot-useutc-quot/m-p/249056#M7639</guid>
      <dc:creator>MarceloRS</dc:creator>
      <dc:date>2013-10-04T16:39:14Z</dc:date>
    </item>
  </channel>
</rss>

