Answers for "get year html"

1

html show current 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