css copytright get year code example Example: php copyright footer © <?php echo date("Y"); ?> Copyright.