AnsweredAssumed Answered

Time in ArcMap vs Time Format in Javascript map

Question asked by bmwgsbill on Aug 17, 2012
Latest reply on Aug 17, 2012 by bmwgsbill
OK.....if I load the layer into Arcmap the time is

8/17/2012 9:35:13 AM

But if I run it through a javascript map using this function:

function formatDate(value){      var inputDate = new Date(value);      return dojo.date.locale.format(inputDate, {      selector: 'date',      datePattern: 'MMMM d, y, h:mm:ss '      });


I get the same date but its 7 hours ahead.
August 17, 2012, 4:35:13

Why??

Any help is much appreciated!

Outcomes