In WordPress, Some people place a static year in the footer which has to be updated manually. So instead of doing this manually again and again, you can do it dynamically. So that it keeps updating automatically.
Here’s how to update year automatically in WordPress. Just add the given code below in your file.