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


setDate() sets date of Date object.
New Date :

New Weekday :

setFullYear() sets 4 digit year for Date object.
New Year :

setHours() set hours for date object.
New Hour :

setMilliseconds() sets milliseconds.
Milliseconds :

setMinutes() sets minutes.
New Minutes :

setMonth() sets month value for date object.
New Month :

setSeconds() sets seconds for date object.
New second :