How to check for the current month...

manderly

Joined: 2008-04-04
Posts: 71
Posted: Sun, 2010-01-17 14:56

Hi,

I downloaded and installed a user-contributed module which shows all updates to my gallery. It worked perfectly except that it shows all the updates and I only wish to show updates for the current month.

What kind of "if" statement do I use to only check for the current month?

heartfelt thanks,
manderly

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2010-01-18 12:05

It would help if you told us what the module that you downloaded was.

 
manderly

Joined: 2008-04-04
Posts: 71
Posted: Mon, 2010-01-18 21:59

Good point!

I found the module in the downloads section/user contributed modules...dated 2007/07/26...under the name "Updates"...it was written by HorsePunchKid.

thank you,
manderly