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 - [EMAIL PROTECTED]
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.


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to