Date Methods



    var later = new Date(2013, 0, 1, 17, 10, 30); //Jan 1, 2013 5:10:30pm
    Date Methods: later.getFullYear()
        later.getMonth() // 0 
        later.getDate() // 1 first of month 
        later.getDay() // 2; 0 for sunday, 1 for Monday,... 
        later.getHours() // 17 which is 5pm 

Run

Output