source/Core/CreditCardValidator.php
protected function _isExpired($date)
    {
        if ($date) {
            $years = substr($date, 2, 2);
            $month = substr($date, 0, 2);
            $day = date("t", mktime(11, 59, 59, $month, 1, $years));

            $expDate = mktime(23, 59, 59, $month, $day, $years);
            if (time() > $expDate) {
                return true;
            }
        }

        return false;
    }
protected function _isExpired($date)
    {
        if ($date) {
            $years = substr($date, 2, 2);
            $month = substr($date, 0, 2);
            $day = date("t", mktime(11, 59, 59, $month, 1, $years));

            $expDate = mktime(23, 59, 59, $month, $day, $years);
            if (time() > $expDate) {
                return true;
            }
        }

        return false;
    }
protected function _isExpired ( $ date ) { if ( $ date ) { $ years = substr ( $ date , 2 , 2 ) ; $ month = substr ( $ date , 0 , 2 ) ; $ day = date ( "t" , mktime ( 11 , 59 , 59 , $ month , 1 , $ years ) ) ; $ expDate = mktime ( 23 , 59 , 59 , $ month , $ day , $ years ) ; if ( time ( ) > $ expDate ) { return true ; } } return false ; }
Checks credit card expiration date. Returns TRUE if card is not expired

@param string $date credit card type

@return bool
Checks credit card expiration date . Returns TRUE if card is not expired