How to save JS Date.now() in PostgreSQL? May 11, 2023 by Tarik Use the to_timestamp() postgres function: `insert into times (time) values (to_timestamp(${Date.now()} / 1000.0))`