-1

I need to get the no of days by taking the date difference of one date confirmation date hard coded value and other with current date in sqlite.

MPelletier
  • 15,673
  • 14
  • 84
  • 131
Arun Kumar
  • 867
  • 2
  • 13
  • 37
  • [Refer this][1] [1]: http://stackoverflow.com/questions/289680/difference-between-2-dates-in-sqlite – Sandy Aug 19 '11 at 07:34

1 Answers1

1
SELECT (julianday(Date('now')) - julianday(ConfirmationDate)) FROM [TABLE]
Tejo
  • 547
  • 4
  • 15