Forum Index >  glFusion >  glFusion Add-on, Plugin Support New Topic Post Reply
 Forum dates
   |  Printable Version
By: dtrumbower (offline)  Oct 18 2012 20:09 pm (Read 235 times)  
dtrumbower

What format is used to store the dates in gl_forum_topics?

THanks

Forum Active Member
Active Member

Group Comfort
Level:
: +7

Registered: 11/24/05
Posts: 143

Profile Email    
  Quote
By: Mark (offline)  Oct 19 2012 07:17 am  
Mark

The forum dates are stored in Unix time format (i.e.; the number of seconds since Jan 1, 1970), so they look like a BIG INT....like this: 1265866037

Thanks!
Mark

Forum Admin
Admin

Group Comfort
Level:
: +104

Registered: 10/21/05
Posts: 5904
Location: The Great State of
Texas

Profile      
  Quote
By: dtrumbower (offline)  Oct 19 2012 08:52 am  
dtrumbower

Is there a php function that will convert it to a real date and time/

Thanks

Forum Active Member
Active Member

Group Comfort
Level:
: +7

Registered: 11/24/05
Posts: 143

Profile Email    
  Quote
By: lgarner (offline)  Oct 21 2012 14:59 pm  
lgarner

The strftime() function will do that.

Forum Admin
Admin

Group Comfort
Level:
: +51

Registered: 06/10/08
Posts: 1819

Profile Email Website  
  Quote
New Topic Post Reply


 All times are CDT. The time is now 12:17 am.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic w/ New Post Sticky Topic w/ New Post
Locked Topic w/ New Post Locked Topic w/ New Post
View Anonymous Posts 
Able to Post 
HTML Allowed 
Censored Content