I have this at the bottom of my page:
Copyright © 2001-<?php the_time('Y'); ?>
It returnes the year as -2005 instead of -2006. URL is:
http://climates.allergynursing.com/
What is the correct code to get the current year?
Thanks,
Lois
I have this at the bottom of my page:
Copyright © 2001-<?php the_time('Y'); ?>
It returnes the year as -2005 instead of -2006. URL is:
http://climates.allergynursing.com/
What is the correct code to get the current year?
Thanks,
Lois
http://us3.php.net/manual/en/function.date.php
<?php echo date('Y'); ?>
Thanks schulte. It's perfect!
Lois
This topic has been closed to new replies.