Saving a date to the database

Thank you. That worked. I’m still not sure of the rule for what I should put into an object to save a date. So for example in this block. 1 runs fine, but 2 does not with the following error reported:

Fri Sep 11 2020 17:41:56 GMT+0800 (Australian Western Standard Time) | SERVER_CODE | ERROR | [6506] TypeError: CurrentUpdate.start.getTime is not a function at Object.execute (/opt/backendless/repo/95594b0a-1972-7690-ff14-f883764c3b00/files/servercode/CODELESS/default/PRODUCTION/timers/update.js:34:135) at processTicksAndRejections (internal/process/task_queues.js:97:5)

timeStamp, start and end are definitely of type DATETIME and I have been able to successfully write dates to the start and end columns using this codeless save object block.

Maybe I should not be using convert to timestamp for date? Or I’m missing something else?