This code snippet will enter a bunch of messed up numbers.
When I use timestamp as its default, it works just fine
Speaking of timestamp in sqlite, i also have a problem, When I put a CURRENT_TIMESTAMP field in a table, the timezone is not right
Regarding the problematic insert: can you log the value of followupDueDate using System.out.println or your logging framework so that we can see what exactly are you trying to insert, and also show us what the inserted record looks like? "Messed up numbers" is quite a vague term. Also, is it only the date what is messed up, or other columns too?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads