<?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: Query Task AMF Date Issue in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124418#M2953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is by design in AGS Server 10. The behavior should be the same if you set useAMF to false which causes it to request a JSON response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 01:22:37 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2010-08-23T01:22:37Z</dc:date>
    <item>
      <title>Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124417#M2952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have just noticed that queries using AMF set to true are returning date fields in UTC seconds and not an actual date object or date string in the API is this a bug?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Aug 2010 04:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124417#M2952</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-21T04:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124418#M2953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is by design in AGS Server 10. The behavior should be the same if you set useAMF to false which causes it to request a JSON response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 01:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124418#M2953</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-23T01:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124419#M2954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Ok, so why is it not decoded by the API as it is when you query using the service page and have the format equal to html?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 01:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124419#M2954</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-23T01:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124420#M2955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To post-process the response would add additional overhead looking for all the date fields and new'ing Date objects. Typically an app developer will want to format the date presented to the user, so at that time, they can also first new a Date with the value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 01:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124420#M2955</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-23T01:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124421#M2956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Ok, so maybe you can help me with my issue then when I query a parcel that has a Sales_Date field of type esriFieldTypeDate it has a value of 11/25/1998 and when it is returned in JSON it is 911952000000. so when I use new Date(value) I get 11/24/1998 instead??? What gives, didn't you just say that developers can simply use new date?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 01:55:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124421#M2956</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-23T01:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124422#M2957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem can be with the time zone. Trying printing date.toUTCString() vs. date.toString(). You can also check the value of the dateUTC property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 02:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124422#M2957</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-08-23T02:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Query Task AMF Date Issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124423#M2958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dasa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; toUTCString worked for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 02:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-task-amf-date-issue/m-p/124423#M2958</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-23T02:31:00Z</dc:date>
    </item>
  </channel>
</rss>

