Code-Samples/javascript/29.1_date_methods.html Current Date Object:


getDate() returns date part of Date object.
Current Date :

getDay() returns weekday from Date object.
Current Weekday :

getFullYear() returns 4 digit year from Date object.
Current Year :

getHours() returns 24hour format hour value.
Current Hour :

getMilliseconds() returns milliseconds.
Milliseconds :

getMinutes() returns minutes.
Current Minutes :

getMonth() returns month value from date object.
Current Month :

getSeconds() returns 24hour format hour value.
Current second :

getTime() returns 24hour format hour value.
Current milliseconds passed since 01/01/1970: