Usa to_timestamp() funzione postgres : `insert into times (time) values (to_timestamp(${Date.now()} / 1000.0))`