Change the date of upload ? Change the date of upload ?
 

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

Change the date of upload ?

Started by udgang99, July 12, 2006, 11:58:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

udgang99

I have a bunch of "old" pictures, that I'd like to date back to when they were created. Like if I uploaded a picture today, but wanted to set a "fake" uploaddate to like "january 1st 2001" ? This way, if I sorted the pictures after "date" this (faked) old picture would read as the oldest.

udgang99

I may be on the right track ... but I can't make it work !
I have acceced the databases, and found TWO varibles with the word "date" in them ...
One is called "mtime" - which looks like it displays the exact upload date/time ... but nothing happens if I change it ...
The other is called "ctime", and has 10 "random" numbers ... now, I'll bet they are NOT random, but I just can't make heads nor tail of them ...

Stats for one picture could look like this:   
mtime= 2006-07-06 19:51:07     
ctime= 1151657877

... anyone ... ?

Nibbler

mtime = time of last view (used for last viewed meta album)
ctime = unix timestamp of when the pic was uploaded.

http://www.4webhelp.net/us/timestamp.php

udgang99

Perfect !!!   That works - thank you so much !