Date calculation not posting correctly to DB

Read the reference about the date interval data type. That’s the data type that results from subtracting one date object from another. They have their own set of operators. (In some other systems, similar objects are called durations.) I Can’t recall is intervals represent seconds or milliseconds, in Bubble, but it’s probably ms.

You might also read this, where I write more about dates and related objects:

How is time stored?