Automatic Copyright Year

Submitted by:James Anderson

Date added:07 February, 2011

Category:PHP

Automatic Copyright Year

Tags: php snippet , copyright year , php date code

Code Snippet:

//Current year only<br />
&copy; <?php echo date("Y") ?><br />
<br />
//With start year<br />
&copy; 2008-<?php echo date("Y") ?>
 
 

Comments