note 27968 deleted from function.cal-days-in-month by didou

From: Date: Sat, 16 Aug 2003 15:56:49 +0000
Subject: note 27968 deleted from function.cal-days-in-month by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54397@lists.php.net to get a copy of this message
Note Submitter: Harry.Leonard@NOSPAM.az.ngb.army.mil ---- Lately, I've been been writing some pretty complex operations for the display of calendar events. I've found to get the count of days in a given month/year, use the date function in addition to cal_days_in_month. $currentdate = date("m-Y"); $test_date = explode("-", "$currentdate"); $days_in_this_month = cal_days_in_month (0, $test_date[0], $test_date[1]);

« previous php.notes (#54397) next »