As a workaround, you can make a SQL connector and build this function:
(if your format is in seconds but not milliseconds, just remove the “/ 1000”)
You can then use this connector function as a converter.
I don’t know if there is any easier way to solve this natively in the expression editor.
EDIT:
Here you go:
Make sure, you calculate second or milliseconds, whatever you have available!