Possible to take last update (date, time) from database ? Possible to take last update (date, time) from database ?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Possible to take last update (date, time) from database ?

Started by ist, February 01, 2004, 10:24:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ist

Hi
I would like to show when last picture was updated in my album.
I found information in table xx_pictures but it seams that field mtime is updated after upload.

Is it possible to finde last upload from database or is it hiden som where?

Regards
Ist :?:

Joachim Müller

the mtime field is the place to go, it contains the date in unix format, you can easily convert it (see http://www.php.net/manual/en/function.time.php )

GauGau

ist