hello all,
how to calculate the days in a month.
actually i had want last six months(number) and the days in that months.
waiting for reply.
kishor
Use the pear class date/Calc.php
Date_Calc::daysInMonth($month,$year));
actualy i dont want to use pear. is there anything else.
Manuals are great fun:
http://www.php.net/manual/en/function.date.php
echo date('t', mktime(0,0,0,2,1,2001));