revlimiter $333.33/day is my goal! Jun 28, 2006 261 2 0 39 Vancouver Island, British Columbia www.kimstewart.ca Dec 2, 2006 #1 I'm looking for PHP code that will display the current year. Going to be using it in my footer code, "© Copyright 2006" so that I don't have to update it every year. Thanks!
I'm looking for PHP code that will display the current year. Going to be using it in my footer code, "© Copyright 2006" so that I don't have to update it every year. Thanks!
DavidR New member Aug 23, 2006 508 10 0 WA Dec 2, 2006 #2 PHP: strftime - Manual Google is your friend
revlimiter $333.33/day is my goal! Jun 28, 2006 261 2 0 39 Vancouver Island, British Columbia www.kimstewart.ca Dec 2, 2006 #3 Thanks DavidR, figured it out: Code: echo(gmstrftime("%Y", time()));
illusion New member Jun 24, 2006 3,475 35 0 Dec 2, 2006 #4 lol date("Y", time()) is more common practice, but if it works keep it like that
dvsf wasted talent Nov 15, 2006 15 2 0 mid-west Dec 4, 2006 #5 right there with illusion... Code: © Copyright <?=date("Y")?> is all you need. No hassle copyright footer, FTW!
right there with illusion... Code: © Copyright <?=date("Y")?> is all you need. No hassle copyright footer, FTW!