If you need to show the current year in the footer of a website like so. Company name 2003 – 2020 but not have to keep updating the current year once a year, then using the following smarty example.

Company name 2003 - {$smarty.now|date_format:"%Y"}