javascript display year copyright
<script>document.write(new Date().getFullYear())</script>
javascript display year copyright
<script>document.write(new Date().getFullYear())</script>
auto update copyright year javascript
<div class="copyright">
<footer>Copyright © <span id="year"></span> , All rights reserved to X</footer>
</div>
<script>
function getCurrentYear() {
return new Date().getFullYear(); // returns the year via local timing
};
document.getElementById("year").innerHTML = getCurrentYear();
//changing the inner html of the span with "year" id to the given year(2021)
</script>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us