In order to check if a string is a date or not, you can use the strtotime() method. // A string variable named 'a' with value "2021-03-01" $a = ...
確定! 回上一頁