Echo several dates + data in separate monthly calendars
Posted on 2012-08-26
I can't figure out what the best method is to echo some dates + some event data on 3 different monthly calendars.
Say i need to echo 15 dates, always for the nearest 3 months. Each month has 5 dates in it.
The result should look something like this, very simply said:
<div><h1>August</h1> <div>5x date</div> </div>
<div><h1>September</h1> 5x date </div>
<div><h1>October</h1> 5x date </div>
The month name needs to be printed also and the main div's are each separate calendar-layouts, the dates are accompanied with some event data.
The dates are stored as a Unix timestamp
How should i do this?