Answers for "show year in html"

1

html print year

<script>document.write(new Date().getFullYear())</script>
Posted by: Guest on March-23-2021
0

call year in html

<script>document.write( new Date().getFullYear() );</script>
Posted by: Guest on July-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language