Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read date/time in an sqlite data base file
#8
After posting I noticed
Quote:OK, I am happy that the following worked perfectly too!

db3.Exec("SELECT date(rec), time(rec) FROM tbx" ar)
and deleted the post. It was similar code. Not tested, I don't know is it correct.

Macro Macro3016
Code:
Copy      Help
Sqlite db3.Open(dbfile)
ARRAY(str) ar; int r
db3.Exec("SELECT date(dateColumnName), time(dateColumnName) FROM mydataf" ar)
for r 0 ar.len ;;for each row
,out "%s %s" ar[0 r] ar[1 r]


Messages In This Thread
RE: Read date/time in an sqlite data base file - by Gintaras - 08-06-2020, 11:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)