I'm doing a search through a database to find articles written within a certain month:
between '1 '.$month.' '.$year and '31 '.$month.' '.$year
Is this method ok even if some months (like February) only have 28 days? In other words, do I have to dynamically find the number of days in the month, or not?