Postgresql Insert Datetime Now Javascript Interview Question