i want to check if today is the last day of the month, but i don\'t really know how. i want to write it in php.
can you help?
thanks, Sebastian
date('t');
or you may use
cal_days_in_month.
see here: http://php.net/manual/en/function.cal-days-in-month.php