Hi pankhi,
You can try with ‘getTime’ JavaScript method which is equivalent of php’s ‘strtotime’. The getTime() method returns the number of milliseconds between midnight of January 1, 1970 and the specified date. Here is an example which shows how to use the date constructor to parse a date and get the milliseconds from the getTime() method.
var d=new Date("2015-02-16 11:03:19.000000");
document.write(d.getTime() + " milliseconds since 1970/01/01");
I hope that the above example will be helpful to you.
Best Regards,
Nadezhda
jQWidgets team
http://www.jqwidgets.com/