2018-04-12 21:09 GMT+02:00 Csányi Pál <csanyi...@gmail.com>: > Thank you very much for the help and for the explanations. > > Waw! It is so complicated at first! I hope I shall understand these soon. > > Finally I decide to use this query: > SELECT Keltezes FROM Orak WHERE Keltezes >= date('now','localtime') > ORDER BY Keltezes LIMIT 1; > > At last this works on my Gentoo linux system here, on my laptop. > I used datefudge to give a fake date to the sqlite3. > When I run the above mentioned query without 'localtime', it gives the > right date! > But, when I run the same query with 'localtime', then I get the localtime. > > Because I think an Android operating system also uses localtime, I am > going to try out this query now.
Well, it not works on my phone, altough I apply the 'localtime' in the query. When I start the app it shows the TOMORROW date out there. Can I ask you here what could be the solution? _______________________________________________ sqlite-users mailing list firstname.lastname@example.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users