Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Apr 2006, 04:41
lionheart53 lionheart53 is offline
 
Join Date: Jan 2006
Comparing post date versus datetimestamp

I'm trying to have my search results show older posts differently based on the user group. I've got a calculated date using something like below:

$startpostdate = time() - (90 * 24 * 60 * 60);

I then in the search results want to compare it versus the date/time of the post (which i assume I use $post[postdate]). But $post[postdate] is a text format and I tried using strtotime with no results.

Any thoughts? I'm sure it's something basic I'm missing. Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:34.

Layout Options | Width: Wide Color: