Date: 03/01/08 (Java Web) Keywords: php, templates The most common use of this is to display the current year in the copyright message dynamically. Anyone who really knows PHP should be able to do it easily. However not everyone who has to use PHP knows PHP, like, for example, people using snippets in ModX or modifying templates in WordPress. Here is the [...] Source: http://blog.taragana.com/index.php/archive/how-to-display-current-year-in-php/
|