Hi I am trying to format date as below
datetime = Ext.Date.format(grid.data.date_time,'d/m/y H:i');
when I save the record it saves properly in the above format, but I am getting the error at console.
Uncaught TypeError: Object [object DOMWindow] has no method 'getDate'
When I expand this error message, in the js file, it was pointing to above line of code, please let me know, am I doing the right way of conversion. I am using extjs 4.0.7