Identify Task : Date Fields

Discussion created by geos_rfleet on Aug 6, 2012
Latest reply on Mar 6, 2014 by susana.mironesri-es-esridist
More date-related questions :)

I can't seem to use the built-in value formatters (inside a popup etc.) for dates returned from an identify task.

I don't know if this is a red herring but the query task and identify task for the same service and same layer return different representations of date fields i.e. fields with a data type of esriFieldTypeDate:

  • Query = 1344270936000

  • Identify = 06/08/2012 16:25:45

Does anyone know why it's done this way?

Is this the reason why the built-in formatters within PopupTemplate etc. don't seem to have any effect on the latter?

This should 'just work' shouldn't it?