PHP display based on date range

4 posts by 3 authors in: Forums > CMS Builder
Last Post: June 23, 2009   (RSS)

By ncasares - June 22, 2009

I'm trying to figure out how to display an image based on the 'updatedDate' of a record. I'd like to show the image if a record has been updated within the past 30 days. I'm sure this is simple, but I'm struggling with the function for comparing the 'updatedDate' to a day 30 days ago.

I don't want to limit the query based on date, just the display of a "new" image.

Can anyone help point me in the right direction?

Thanks!

Re: [ncasares] PHP display based on date range

By Damon - June 22, 2009

Thanks for sending the additional details via email and chatting on the phone.

I will put together a quote for you for this and the other requirements and get back to you shortly.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Dave] PHP display based on date range

By ncasares - June 23, 2009

Hi Dave,
Thanks for the info. I've gone ahead with a consulting project on this one, but I'm sure the info is useful to the community. Thanks.