i was found it at date() documentation on php.net.. it is a contribution:
jkh@zybermail.dk
08-Mar-2000 04:05
I had some trouble with the date("t") that was supposed to return the number of days in this current month. But it didn't work with my version of PHP, I had to come up with another solution - here is is (and yes it is seen before on this list!) :
$days_in_month = date("j", mktime(0,0,0,date("n")+1, 1, date("Y"))-1);
its ll return the number of days in current month.. but you can do it for any month:
$my_result = date("j",mktime(0,0,0,10+1,1,2000)-1);
you are asking: tell me the real day at 0/11/2000..
its the last day of octouber/2000 = 31.
anyway, try to find in freebsd documentation what could be wrong.. in this case i cant help you.
ic.