$calendar is the 3d doman.
$month and $years are just values
the calender array are stored as [year][month][day]
so 15 january 2003 will be
$calendar[2003][1][15] = 1;
something like this
so now i need to loop through all the arrays to search for value.