Hello I have a table in Postgres and one of the fields is type Date with the format '2019-09-10'
and I'm transferring this table into a SQLite one BUT in this SQLite I'm getting this field as Date with this format 'Fri Sept 13 2019 00:00:00 GMT+0000 (UTC)'
and I don't want that I just want it to be as in the Postgres table '2019-09-13'
this is the DDL of the Postgres:
CREATE TABLE public."Checks" (
"customerId" int4 NOT NULL,
"checkDate" date NULL
);
and this is the DDL for the SQLite:
CREATE TABLE `Checks` (`customerId` INTEGER NOT NULL NOT NULL, `checkDate` DATE);
Best Answer
SQLite only supports some datatypes, and DATE is not one of them (https://sqlite.org/datatype3.html).