Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Possible to take last update (date, time) from database ?  (Read 2285 times)

0 Members and 1 Guest are viewing this topic.

ist

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Possible to take last update (date, time) from database ?
« 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 :?:
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Possible to take last update (date, time) from database ?
« Reply #1 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
Logged

ist

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Possible to take last update (date, time) from database ?
« Reply #2 on: February 02, 2004, 12:51:04 am »

:D Great I will try.
Thank's for the link

/ist
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.