<?php $dateofbirth = '80'; list($dd,$mm,$yyyy) = explode('/',$dateofbirth); if (!checkdate($mm,$dd,$yyyy)) { echo 'this should fail!'; } else echo 'passed valid date?';
You have javascript disabled. You will not be able to edit any code.