display the current year into a div using javascript

6:11 am, March 23, 2018
this is good for the year in the footer of a site, where it needs to change depending on the current year.

Code

html
css
js
scripts

Download & Run

Download File Run Demo Re-load Preview

Preview

yinC4