Database noob alert:
I am trying to insert into a postgres table.
The field that I would like to insert in is called make_date
.
The field type is timestamp without time zone NOT NULL
,
How do I insert today's date in there? Like right now's date and time? Something like the below but I am unable to get the right datatype insert format for dateTime.now
insert into inventory_tbl (make_date) values (dateTime.now)