coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ist on February 01, 2004, 10:24:27 PM

Title: Possible to take last update (date, time) from database ?
Post by: ist on February 01, 2004, 10:24:27 PM
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 :?:
Title: Possible to take last update (date, time) from database ?
Post by: Joachim Müller on February 02, 2004, 12:24:27 AM
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
Title: Possible to take last update (date, time) from database ?
Post by: ist on February 02, 2004, 12:51:04 AM
:D Great I will try.
Thank's for the link

/ist