<?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 Date field formats using both Query and Identify Tasks in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-field-formats-using-both-query-and-identify/m-p/423090#M38923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed that the Query Task and the Identify Task return date field values in a different format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie.. The id format is returning 10/16/2010 (mm/dd/yyyy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The query format is returning a longer date format such as Mon Oct 04 00:00:00 EDT 2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I control the display format of the date for both id and query without having to parse out each type differently.&amp;nbsp; It will also change when I go to either a UNIX or Windows server.&amp;nbsp; I am using ArcGIS Server 9.3.1 on both windows and unix servers, and the Javascript api 1.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 May 2010 13:35:29 GMT</pubDate>
    <dc:creator>SteveDale</dc:creator>
    <dc:date>2010-05-05T13:35:29Z</dc:date>
    <item>
      <title>Date field formats using both Query and Identify Tasks</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-field-formats-using-both-query-and-identify/m-p/423090#M38923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed that the Query Task and the Identify Task return date field values in a different format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie.. The id format is returning 10/16/2010 (mm/dd/yyyy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The query format is returning a longer date format such as Mon Oct 04 00:00:00 EDT 2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I control the display format of the date for both id and query without having to parse out each type differently.&amp;nbsp; It will also change when I go to either a UNIX or Windows server.&amp;nbsp; I am using ArcGIS Server 9.3.1 on both windows and unix servers, and the Javascript api 1.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 13:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-field-formats-using-both-query-and-identify/m-p/423090#M38923</guid>
      <dc:creator>SteveDale</dc:creator>
      <dc:date>2010-05-05T13:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date field formats using both Query and Identify Tasks</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-field-formats-using-both-query-and-identify/m-p/423091#M38924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved using &lt;/SPAN&gt;&lt;A href="http://github.com/phstc/jquery-dateFormat"&gt;&lt;STRONG&gt;this jQuery plugin&lt;/STRONG&gt;&lt;/A&gt;&lt;SPAN&gt; on the client-side... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;usage example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;jQuery.format.date(attributes["DATE_ATTR"],"dd/MM/yyyy")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 10:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/date-field-formats-using-both-query-and-identify/m-p/423091#M38924</guid>
      <dc:creator>AlessioDi_Lorenzo</dc:creator>
      <dc:date>2010-05-06T10:57:40Z</dc:date>
    </item>
  </channel>
</rss>

