l0ve2hat3 Posted May 6, 2010 Share Posted May 6, 2010 <?php $collection_date=1258434000; $closing_date=1273172751; for($date_posted=$collection_date;$date_posted<$closing_date;$date_posted=strtotime(date('m/d/Y',$date_posted)." +1 day")){ echo date('m/d/y',$date_posted)."<br>"; } ?> OUTPUT 11/17/09 11/18/09 11/19/09 11/20/09 11/21/09 11/22/09 11/23/09 11/24/09 11/25/09 11/26/09 11/27/09 11/28/09 11/29/09 11/30/09 12/01/09 12/02/09 etc... WHY IS IT SKIPPING THE 31st?? Quote Link to comment Share on other sites More sharing options...
l0ve2hat3 Posted May 6, 2010 Author Share Posted May 6, 2010 im retarded... Quote Link to comment Share on other sites More sharing options...
mattal999 Posted May 6, 2010 Share Posted May 6, 2010 Yes. Yes you are. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.