If you are putting a string into the database you should (obviously) get the same string out. Have you checked what is actually going into the database using something like SQLiteStudio? I store dates in SQLite in ISO-8601 format and convert to DateTime objects in vb.net.
Last edited by paulg4ije; Feb 9th, 2025 at 09:49 AM.
It's called debugging.
Start with your deserialized data.
Does the full date even arrive in your "PersonList"?
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
The number of seconds including fractional seconds since 1970-01-01 00:00:00 Example: 1748528160
Though you CAN use Datatypes like Date, DateTime (and others you're used to from other DBMS) during creation of a Table (via SQL CREATE TABLE blablabla), and SQLite will even save it in its Metadata.
Internally, SQLite will use its own storage class with the closest Affinity https://www.sqlite.org/datatype3.html
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad