Let’s say the current year and copyright are manually specified in the template of the site:
<p>Copyright © 2013-2020</p>
And in order not to edit and indicate the current year manually each year, you can automatically get it using PHP code:
<?php echo date('Y'); ?>
That is, it should turn out:
<p>Copyright © 2013-<?php echo date('Y'); ?></p>