You have Made 9 Tacos This month
You have Made 15 Tacos Last month
Im just having an issue generating a "Simple" start date and end date for the current month and the month before it. i need these months to be really accurate including the 28 days in febuary and leap years etc..
i have tried playing around with the date function but have had to much trouble trying to get it to format start and end dates for each month for the grab query.
if anyone has a better way to grab queries in a certain month that would be awesome, i also can not have a row just listing the current months name it needs to pull Date format Y-m-d
it works, its just seems like there should be an easier way to do this and one that actually counts leap years.
Thanks ~
Last edited by Nvenom; 11-11-2011 at 02:53 AM.
Albert Einstein ~ "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Things To help you on this Site
1. Place all php code in [php] Tags 2. Place all html code in [html] Tags 3. Remember to mark all your Threads Resolved using thead tools at the top when your problem is solved
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks