Display current year in PHP


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

Useful for displaying copyright notices on a website.


Copy this code and paste it in your HTML
  1. Copyright 2000 - <?php echo date("Y") ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.