PDA

View Full Version : date picker return format



KernelPanik
28 Jul 2014, 12:55 PM
When using the datepicker, the date returned looks like this:
Sat Aug 09 2014 00:00:00 GMT-0400 (Eastern Standard Time)
I would like it to look like this:
2014-08-09

I've looked and looked but don't see where I can change the return format of datepicker.

Thanks for any and all help!

evant
28 Jul 2014, 1:55 PM
It's not returning the date in a particular format, but rather returning the date object.

Use Ext.Date.format() to convert it to a string representation.