PDA

View Full Version : A timestamp of when a post is posted? Using $post['post'] ?


Brother Malachi
03-11-2009, 06:23 AM
Datestamp Display Option in AdminCP is set to "Detailed" which means: "'detailed' will show times such as '1 Minute Ago', '1 Hour Ago', '1 Day Ago', and '1 Week Ago'."

So when I use $post['date'] in templates I get "1 hour ago" instead of the timestamp...is there a way to actually generate a timestamp (in seconds) of when the post was posted?

--------------- Added 1236758225 at 1236758225 ---------------

Figured it out. It's $post['dateline'] if anyone needs it