@@ 4805-4806 (lines=2) @@ | ||
4802 | return FALSE; |
|
4803 | if( 7 == count( $input )) |
|
4804 | return TRUE; |
|
4805 | if( isset( $input['year'] ) && isset( $input['month'] ) && isset( $input['day'] )) |
|
4806 | return checkdate( (int) $input['month'], (int) $input['day'], (int) $input['year'] ); |
|
4807 | if( isset( $input['day'] ) || isset( $input['hour'] ) || isset( $input['min'] ) || isset( $input['sec'] )) |
|
4808 | return FALSE; |
|
4809 | if( in_array( 0, $input )) |
|
@@ 4813-4815 (lines=3) @@ | ||
4810 | return FALSE; |
|
4811 | if(( 1970 > $input[0] ) || ( 12 < $input[1] ) || ( 31 < $input[2] )) |
|
4812 | return FALSE; |
|
4813 | if(( isset( $input[0] ) && isset( $input[1] ) && isset( $input[2] )) && |
|
4814 | checkdate( (int) $input[1], (int) $input[2], (int) $input[0] )) |
|
4815 | return TRUE; |
|
4816 | $input = $this->_date_time_string( $input[1].'/'.$input[2].'/'.$input[0], 3 ); // m - d - Y |
|
4817 | if( isset( $input['year'] ) && isset( $input['month'] ) && isset( $input['day'] )) |
|
4818 | return checkdate( (int) $input['month'], (int) $input['day'], (int) $input['year'] ); |
|
@@ 4817-4818 (lines=2) @@ | ||
4814 | checkdate( (int) $input[1], (int) $input[2], (int) $input[0] )) |
|
4815 | return TRUE; |
|
4816 | $input = $this->_date_time_string( $input[1].'/'.$input[2].'/'.$input[0], 3 ); // m - d - Y |
|
4817 | if( isset( $input['year'] ) && isset( $input['month'] ) && isset( $input['day'] )) |
|
4818 | return checkdate( (int) $input['month'], (int) $input['day'], (int) $input['year'] ); |
|
4819 | return FALSE; |
|
4820 | } |
|
4821 | /** |