Logo Luan Morina
Display the current copyright year with PHP

PHP

<?php
$startYear = "1995"; 
$currentYear = date("Y"); 
$copyrightContent = "&copy; Company (" . $startYear . " - " . $currentYear . ")"; 
?> 
<div class="copyright"><?php echo $copyrightContent;?></div> 

   Display the current copyright year with PHP