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
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
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