strtotime(substr($card_data[0]['CARDEXPDAT'], 0, 2) . "/01/" . substr($card_data[0]['CARDEXPDAT'], 2, 4))) { echo "exp"; } else { echo "we good"; } ?>