Advanced search  

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

Pages: [1]   Go Down

Author Topic: Change the date of upload ?  (Read 2841 times)

0 Members and 1 Guest are viewing this topic.

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Change the date of upload ?
« 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.
« Last Edit: July 14, 2006, 09:32:53 am by Abbas Ali »
Logged

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Re: Change the date of upload ?
« Reply #1 on: July 13, 2006, 12:47:15 am »

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 ... ?
Logged

Nibbler

  • Guest
Re: Change the date of upload ?
« Reply #2 on: July 13, 2006, 01:25:03 am »

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
Logged

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Re: Change the date of upload ?
« Reply #3 on: July 14, 2006, 09:26:04 am »

Perfect !!!   That works - thank you so much !
Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 20 queries.