PHP Copyright Date


/ Published in: PHP
Save to your folder(s)

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!


Copy this code and paste it in your HTML
  1. <p>Copyright &copy <?php echo date("Y"); ?> Company Name</p>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.