Answers for "how to extract year from utc in javascript"

1

how to extract year from utc in javascript

const d = new Date();
document.getElementById("demo").innerHTML = d.getFullYear();
Posted by: Guest on June-11-2021

Code answers related to "how to extract year from utc in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language