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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 !