Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Display a list of recent topics


Ben L.
Member

@nightgunner5

Instead of $result->topic_start_time, you want date( strtotime( $result->topic_start_time ) < time() - 86400 ? 'F j' : 'H.i', bb_offset_time( strtotime( $result->topic_start_time ) ) )

That should fix the date offset problem and give you the date formats you want.

Skip to toolbar