Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to extract year from utc in javascript

const d = new Date();
document.getElementById("demo").innerHTML = d.getFullYear();
 
PREVIOUS NEXT
Tagged: #extract #year #utc #javascript
ADD COMMENT
Topic
Name
9+4 =