* getTime() - Number of milliseconds since 1/1/1970 @ 12:00 AM
* getSeconds() - Number of seconds (0-59)
* getMinutes() - Number of minutes (0-59)
* getHours() - Number of hours (0-23)
* getDay() - Day of the week(0-6). 0 = Sunday, ... , 6 = Saturday
* getDate() - Day of the month (0-31)
* getMonth() - Number of month (0-11)
* getFullYear() - The four digit year (1970-9999)
Kód:
http://www.tizag.com/javascriptT/javascriptdate.php
tak mozes pridat aj roky a mesiace