Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JackT06

macrumors 6502
Original poster
Jul 24, 2009
293
0
Im not quite sure how to explain this but i will give it a shot.

On websites at the bottom you sometimes find the date which it was last updated. Is that an auto feature or do you have to maunaully do that everytime?

I would like to add it to the bottom of my new site.

Many Thankks :)
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
I use PHP myself, but there's other ways. Here's the PHP I use,
PHP:
echo "Last updated: ". date("Y-m-d \a\\t h:i T", getlastmod());
I have that in my footer, which gets included on all pages. The getlastmod function being the key part.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.