Posted By

tigercore on 03/14/08


Tagged

php date copyright


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

crs0328
Wiederkehr
basicmagic
jprice


PHP Copyright Date


 / Published in: PHP
 

URL: http://www.tigercore.co.uk

This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name". Simple!

  1. <p>Copyright &copy <?php echo date("Y"); ?> Company Name</p>

Report this snippet  

You need to login to post a comment.