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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 2 Guests 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