Use el to_timestamp() función postgres : `insert into times (time) values (to_timestamp(${Date.now()} / 1000.0))`