📜 ⬆️ ⬇️

Date in copyright

Drew attention to the fact that already 23 days, how to last 2009, and on many sites copyrights have the form "© 2006-2008", and this is at best.

Why not insert the following code instead of the final year:
&opy; 2006— <?= date("Y"); ?>
Published as “Thoughts aloud” =)

upd: More convenient, I think, the option suggested by youROCK :
&opy; 2009 <?= (date('Y') != 2009 ? '—' . date('Y') : '') ?>

')

Source: https://habr.com/ru/post/50059/


All Articles