That depends on what you're doing and how you're doing it. Show your relevant code where you are doing this "update query" and "after checking the where condition." For instance, are you already retrieving the data from the db and just need to update something?
If it's truly a date field and not a varchar or something, it should work. I do it all the time. I'm using mysql/mariadb though, are you using something different?