How to check string's date format in PHP? on October 13, 2020 Get link Facebook X Pinterest Email Other Apps if (DateTime::createFromFormat('Y-m-d G:i:s', $myString) !== FALSE) { echo 'true'; } Comments
Comments
Post a Comment