Use a try and except block. In the try block, call datetime.datetime.strptime(date_string, format) with date_string as the date string to see if it ...
確定! 回上一頁