Get Date Strings for draw_calendar() Function

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-03-15T18:38:38Z Indexed on 2010/03/15 18:39 UTC
Read the original article Hit count: 420

Filed under:
|
|
|

I'm using the David Walsh PHP calendar script and need to format my date arguments like this:

draw_calendar(7,2009);

I want to get today's Month and Year as well as the next month and the month after that (so current month, plus one, plus one). How can I call the function three times in succession to generate these three calendars only knowing today's Month and Year?

-Brandon

© Stack Overflow or respective owner

Related posts about php

Related posts about calendar