At 08:28 29/01/2016, you wrote: >For storing a date I probably could use strftime('%J'). But I would >like to >store it as an INT. But I see no way to cast a float to an int. Is >that not >possible?
select cast(julianday('now') as int) should do what you want.