walidacja daty php

Próbuję ustawić poprawność daty php (MM / DD / RRRR), ale mam problemy. Oto przykład tego, co mam:

$date_regex = '%\A(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d\z%'; 

$test_date = '03/22/2010'; 
if (preg_match($date_regex, $test_date,$_POST['birthday']) ==true) {
    $errors[] = 'user name most have no spaces';`

questionAnswers(12)

yourAnswerToTheQuestion