problem with checkdate ()

From: Date: Fri, 12 Jan 2001 21:21:35 +0000
Subject: problem with checkdate ()
Groups: php.windows 
Request: Send a blank email to php-windows+get-4958@lists.php.net to get a copy of this message
I'm trying to check a date... the date is saved as dd-Mon-YY the following code: $frmdatecheck = date ("j, n, Y", strtotime ( $FROMdate ) ); if ( !checkdate ( $frmdatecheck ) ) { } gives me the following error Warning: Wrong parameter count for checkdate() in D:\root\cc\resolutions\res_search.php on line 621 checkdate is defined as int checkdate (int month, int day, int year) any suggestions? Thanks in advace, John --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 The benefit to the government of replacing all $1 Federal Reserve notes with $1 coins would be $522.2 million per year, according to estimates of the General Accouting Office released on April 7, 2000.

« previous php.windows (#4958) next »