kkreft
10/6/2014 - 7:09 AM

php check string is date

if(DateTime::createFromFormat('Y-m-d', $value) === FALSE)