Dare using Javascript oO
HTML Code:<script> © 2011- <script type="text/javascript"> var curdate = new Date() var year = curdate.getFullYear() document.write(year) </script>



Dare using Javascript oO
HTML Code:<script> © 2011- <script type="text/javascript"> var curdate = new Date() var year = curdate.getFullYear() document.write(year) </script>










Easier:
Code:<p>Copyright © 2011 - <?php echo date('Y'); ?></p>



This thread is the funniest thing I've read tonight, made me chuckle from top to bottom (of the thread) & glad it all got sorted out
© 2012 - <?php html/php - it's all the same nonsense!!! lol?>
happy cheap hotel Barcelona - find the cheapest hotels in Barcelona
Barcelona City Guide & Metro Map - FREE pocket sized and printer friendly
Yoga Therapy & Terapia de Movimiento - Svastha Yoga in Barcelona
You can use Javascript, but that only draws upon the date and time information of the Client Computer. Otherwise, the example provided by Decker is quite adequate.
This one is quite easier <p>Copyright © 2011 - <?php echo date('Y'); ?></p>
Bookmarks