In functions.php
function currentYear(){
    return date('Y');
}
In file
<p>
    <?php echo currentYear(); ?>
</p>