The function you want is julianday(). More specifically, julianday('now'). See here for an example where I translated some statements from MySQL to SQLite.
In reply to Re: to_days(now())
by meredith
in thread to_days(now())
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |