Date and Time Formatting -- Using Dojo?

1644
2
06-22-2010 05:52 AM
by Anonymous User
Not applicable
It seems like there should be a simple solution for this that doesn't involve a third-party (besides dojo). My app uses a query function that returns some attribute values. One of those values is a date/time formatted like this:
Sun Aug 09 13:43:00 EDT 2009
Can someone show me the code to make this date format more user-friendly. I'm mostly concerned with the time format, the date looks fine though it could be changed. Evidently the public can't handle this format!
0 Kudos
2 Replies
AdamPfister
Esri Contributor
0 Kudos
by Anonymous User
Not applicable
Try here: http://www.dojotoolkit.com/reference-guide/dojo/date/locale/format.html


Could you be a little more specific on how to do this?
0 Kudos