// Parse string into the number of milliseconds since January 1, 1970, 00:00:00 UTC.
var ticks = Date.parse("5/15/2015");
// Create an instance of Date using the number of milliseconds.
var date = new Date(ticks);
// Check the value of the Date instance
// yields "Mon Oct 05 2015 00:00:00 GMT+0200 (W. Europe Daylight Time)"
In some scenarios, you might want to add extended client behavior to a Calendar View in SharePoint 2010. The client-side API of the Calendar View ist not of a great help in every case here. especially, it does not provide an event or hook to catch clicks on calendar items.