Re: [PHP-WIN] problem with checkdate ()

2001-01-12 Thread Cynic
what about this: $frmdatecheck = date ("j/n/Y", strtotime ( $FROMdate ) ); if( ! checkdate( list( $j , $n , $y ) = explode( '/' , $frmdatecheck ) ) ) or rather: if( ! call_user_func_array( 'checkdate' , explode( '/' , $frmdatecheck ) ) ) At 22:21 12.1. 2001, Asendorf, John wrote the following

RE: [PHP-WIN] problem with checkdate ()

2001-01-12 Thread Asendorf, John
bject: [PHP-WIN] problem with checkdate () > > > 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 ) ) { } > > g

[PHP-WIN] problem with checkdate ()

2001-01-12 Thread Asendorf, John
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_sear