coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Sebastian Bach on June 24, 2005, 05:12:26 AM

Title: what format is the ctime field
Post by: Sebastian Bach on June 24, 2005, 05:12:26 AM
what does a value such as "1119206210" in the ctime field mean? How can it be converted to a standard mm/dd/yyyy format?
Title: Re: what format is the ctime field
Post by: Nibbler on June 24, 2005, 01:05:44 PM
It is the number of seconds that have passed since January 1st 1970. Read the php or mysql manual to find out how to convert it into whatever format you desire.
Title: Re: what format is the ctime field
Post by: Tranz on June 24, 2005, 04:17:13 PM
To help in the search, it has to do with epoch time.