How can I insert the date and time in a PostgreSQL database where the field is of type timestamp ?
I tried the following query in PostgreSQL , but it gives an error that the date is not compatible with timestamp :
Code:
insert into tabla (nombre, ctime, mtime) values ('pepe', '2017-05-2', '2017-05-2')