coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: mimatadero on April 20, 2004, 01:37:55 AM

Title: mtime y ctime in mysql. cpg_pictures. relation?
Post by: mimatadero on April 20, 2004, 01:37:55 AM
i ´m convert my database from myegallery to coppermine.

i need to know how i can generate the ctime from mtime.

i have mtime=20040420002056 and i want to know ctime.

i know that 20040420002056 is 2004(year)04(mes)20(day)00:20:56

ctime is something like: 1082413218 .....

what is the relation?. how i can make ctime from mtime?

thank you
Title: mtime y ctime in mysql. cpg_pictures. relation?
Post by: Joachim Müller on April 20, 2004, 09:06:21 AM
Unix time stamp, see http://www.php.net/manual/en/function.time.php

Could you post your converter once you're done? Thanks!

GauGau
Title: mtime y ctime in mysql. cpg_pictures. relation?
Post by: Joachim Müller on April 20, 2004, 09:26:52 AM
Don't double-post! I deleted your identical posting on the other board.

GauGau