Posted By

AzizLight on 10/26/09


Tagged

year copyright dynamic


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

ruhanirabin


Display Dynamic Copyright Year


 / Published in: PHP
 

URL: http://davidwalsh.name/dear-developers-hardcode-copyright-year

  1. echo date(’Y') == ‘2007′ ? ‘2007′ : ‘2007 – ‘.date(’Y');

Report this snippet  

You need to login to post a comment.