setFullYear() method sets the full year for a specified date according to local time.
|year||Required||An integer specifying the numeric value of the year.|
|month||Optional||An integer between 0 and 11 representing the months January through December.|
|date||Optional||An integer between 1 and 31 representing the day of the month.|
|Number||The number of milliseconds between 1 January 1970 00:00:00 UTC and the updated date.|
setFullYear() with Year, Month, and Date
setFullYear() Month and Date are optional.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.