Re: [PHP] date("t")

2001-01-18 Thread Maurice Rickard
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 wi

Re: [PHP] date("t")

2001-01-18 Thread Toby Butzon
but should work. --Toby - Original Message - From: "Maurice Rickard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 10:34 PM Subject: [PHP] date("t") > I know I can get the number of days in the current month with > date(&

[PHP] date("t")

2001-01-18 Thread Maurice Rickard
I know I can get the number of days in the current month with date("t"), but how would I go about getting the number of days in a different month? I have a form that allows users to insert a date. If the value they put in doesn't exist (February 31, 2001, for example), I want to override it.