Get current year automatically

Learn how to auto update a year. Perfect for your footer!

  1. Give the text a class
  2. Add the following snippet (make sure you change the class)

<script>
$(function() {
  $('.this-year').text(new Date().getFullYear());
});
</script>