★ wanayoo — archive 1999 http://fr.php.net/manual/function.getlastmod.phpNouvelle recherche | Portail wanayoo
PHP Friday, April 27, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  


previousget_magic_quotes_runtime
getmyinodenext

Last updated: Mon, 08 Jan 2001

getlastmod

(PHP 3, PHP 4 )

getlastmod -- Get time of last page modification.

Description

int getlastmod (void)

Returns the time of the last modification of the current page. The value returned is a Unix timestamp, suitable for feeding to date(). Returns false on error.

Example 1. getlastmod() example


// outputs e.g. 'Last modified: March 04 1998 20:43:59.'
echo "Last modified: ".date ("F d Y H:i:s.", getlastmod());
      

See alse date(), getmyuid(), get_current_user(), getmyinode(), and getmypid().

previousget_magic_quotes_runtime
getmyinodenext

Last updated: Mon, 08 Jan 2001
add note | about notes

show source | credits | mirror sites:  

Copyright © 2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Fri Apr 27 03:55:02 2001 MET DST