new Date("December 17, 1995, 03:24:00");
Sat, 16 Dec 1995 21:54:00 GMT
new Date("25/Jul/2012");
Tue, 24 Jul 2012 18:30:00 GMT
new Date("7/25/2012");
Tue, 24 Jul 2012 18:30:00 GMT
Is this Ok? How to get correct Date based on our argument passed in Date Constructor ?
Please give your suggestions.
What's the timezone of your system set to? The return values you're showing are GMT and are 18 hours earlier. My guess is that you're somewhere in East Asia or Australia?