Answers for "date.get year"

2

JS date year

var d = new Date();

var n = d.getFullYear();
Posted by: Guest on February-08-2021
1

get year from date javascript

document.write(new Date().getFullYear());
Posted by: Guest on November-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language