determine how old is the thread?
I wanna check if the thread is 60 minutes old and if so show an error but I can't figure how to determine that'

I have dateline form a table fetched and current time but how to create a value that I can use

if ($thread_age > $check_value)

Thread date-line: 1434998086
TIME_NOW - $thread['dateline']

Returns the seconds.
Support PMs will be ignored!
@Jones H thanks big time buddy. I was so close but without your help wouldn't figure it out Wink +1

Forum Jump:

Users browsing this thread: 1 Guest(s)