Skip to content

Instantly share code, notes, and snippets.

@Karytonn
Last active October 20, 2021 10:19
Show Gist options
  • Save Karytonn/5623731bfefeb9f58ce90f7b21279b0b to your computer and use it in GitHub Desktop.
Save Karytonn/5623731bfefeb9f58ce90f7b21279b0b to your computer and use it in GitHub Desktop.
Get full year - Js

Get Full Year with Javascript


Using on copyright

<div class="footer">
  <p>
    Copyright &copy;
    <script>document.write(new Date().getFullYear());</script> | Created by 
    <a href="https://instagram.com/karytonn.dev" target="_blank" rel="noopener">Karytonn DEV</a>
  </p>
</div>
@Karytonn
Copy link
Author

Get Full Year with Javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment