Return to Snippet

Revision: 44139
at April 6, 2011 23:59 by amyb


Initial Code
function testDate($value){
	return preg_match( '`^\d{1,2}/\d{1,2}/\d{4}$`', $value);
}

Initial URL

                                

Initial Description

                                

Initial Title
Check date is in dd/mm/yyyy format

Initial Tags

                                

Initial Language
PHP