I have a unix timestamp, e.g., 1313564400000.00. How do I convert it into Date object and get month/year/day accordingly? The following won\'t work:
function
var date = new Date(1313564400000); var month = date.getMonth();
etc.
This will be in the user's browser's local time.