function isDateMySqlFormat($date)
{
if (preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $date))
return true;
else
return false;
}
We provide online web development solution like PHP,jQuery,Laravel,Wordpress and we cover the latest tech news and how to tech and tricks.