Re: date("t")
| From: | Maurice Rickard | Date: | Fri, 19 Jan 2001 03:57:16 +0000 |
| Subject: | Re: date("t") | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35554@lists.php.net to get a copy of this message | ||
It does indeed work. Thanks, Toby!
-Maurice
At 10:47 PM -0500 1/18/01, Toby Butzon wrote:
You might try this: Arguments for mktime for my reference and for yours are ... int mktime (int hour, int minute, int second, int month, int day, int year [, int is_dst]) Then put it together with date() like this... date("t", mktime(1, 1, 1, $mm, 1, $yyyy)); This is untested, but should work. --Toby -- Maurice Rickard http://mauricerickard.com/