tags:

views:

463

answers:

2

I need help reproducing the following SQL statement to a statement that SQLite understands.

SELECT * FROM SomeTable WHERE [Date] >= DATEADD(day, -14, GETDATE())

Any help is much appreciated!

+1  A: 

From this link

Date And Time Functions

it would seem that you can use something like

date(timestring, modifier, modifier, ...) 

SELECT date('now','+14 day');

Does this seem correct to you?

astander
Thanks, this is exactly what I was looking for!
Kristoffer Ahl
+1  A: 

link text

Raj