Computer Science, asked by priyankajangid1521, 1 year ago

How to print current year in JavaScript?

Answers

Answered by tusharjangle
0

To get the current year, use the getFullYear() JavaScript method. JavaScript date getFullYear() method returns the year of the specified date according to local time.

it may be useful for you dear one....

Similar questions