Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Timestamp Like microsoft.com

Status
Not open for further replies.

leeym

IS-IT--Management
Aug 20, 2004
338
US
Is there a way to create an automatic timestamp on my PHP-based web site that says when it was last updated, even though it wasn't? Kind of like the one on the bottom of the home page.

thanks
 
There really is no point to do that. Microsoft actually updates their website very often so I am sure that time stamp is valid. If you put something like that on your website, even though it has not been updated it will be useless. Maybe it will show new visitors you update your website very often, but soon they will realize the truth!

Anyways, do this:
Code:
<?php
echo date('l dS \of F Y h:i:s A');
?>

For more details check out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top