Problem with Dates

There are different time-formats you can use.
In general, when working with times → you probably should work with → TIMESTAMPS ← do the calculation and convert it to the time-format of your choice after calculation.

Also you maybe want first to check what kind of format is setted up inside of your database. As long as you did not setted-up the format of a DB-Field it will get the yellow WARNING-SIGN inside of your DB.

Also read the following post …

…or this one…

…or this one…

…and this one…

Convert your date to the right format, which is expected by your DATABASE.