.NULL. is a perfectly valid date. If you're getting numbers, you're likely getting dates stored as days since some arbitrary date. Try:
select datetime(yourfield,'unixepoch','localtime') from yourtable; On Wed, Apr 26, 2017 at 4:23 PM, José Olavo Cerávolo <jocerav...@yahoo.com> wrote: > Hi Guys, > I sent a message but it guess it was misplaced.I am trying to read a SQLite > database, but I have problems with the data.I can connect to it, read the > tables, but the values are messed up.I can't get the Dates, it comes out as > .NULL or with weird numbers.I've looked at the documentation, but nothing is > working.I am using the SQLite ODBC for SQLite version 3. > Thanks in advance, > Jose. > José Olavo Cerávolohttp://www.ceravoloconsulting.com/ > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4ted4w_w0ik59nd+c30yh+tnqhn6gfdq+zgesxuymt...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.