Hello guys am using a JQ Grid and the date format am getting is 2012-09-16T00:00:00 like this. I want the date format to be in 2012-09-16 manner. I have tried to change it but it's not working. Please have a look at my code and tell me where am going wrong.
formatter: 'date', formatoptions: { 'srcformat' : 'Y-m-d H:i:s', 'newformat' : 'Y-m-d' }