forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: udgang99 on July 12, 2006, 11:58:42 pm
-
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.
-
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 ... ?
-
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
-
Perfect !!! That works - thank you so much !