I have a date in the format 14-Feb-2011, but I want to convert it into the format Mon Feb 14 10:13:50 UTC+0530 2011. How Can I achieve this?
14-Feb-2011
Mon Feb 14 10:13:50 UTC+0530 2011
var d = new Date("14-Feb-2011");
this will give an output of Mon Feb 14 2011 00:00:00 GMT-0500 (Eastern Standard Time)