sdale

Date field formats using both Query and Identify Tasks

Discussion created by sdale on May 5, 2010
Latest reply on May 6, 2010 by digy79
I have noticed that the Query Task and the Identify Task return date field values in a different format.

ie.. The id format is returning 10/16/2010 (mm/dd/yyyy)
     The query format is returning a longer date format such as Mon Oct 04 00:00:00 EDT 2010

How can I control the display format of the date for both id and query without having to parse out each type differently.  It will also change when I go to either a UNIX or Windows server.  I am using ArcGIS Server 9.3.1 on both windows and unix servers, and the Javascript api 1.6.

Thanks in advance for any help..
Steve

Outcomes