MySQL Incorrect datetime value: ” for column at row

MySQL Error:

Error Code: 1292. Incorrect datetime value: '' for column '..' at row 1

Issue: The issue is that you can not update empty value to datetime. Either it should be null if the column is nullable type or a proper date time.

Example:

update `YourTable` Set `YourDateColumn` = null where `ID` = YourID