AIR provides additionnal SQL features to support local SQLite databases. For example: dates.
So you can store dates directly in your SQLite database with no formatting. I think that pure SQLite databases would store dates in a text field after a transformation (to ISO format for example).
This is great but I had real difficulties to define a query with dates in the WHERE clause in all SQLite AIR admin tools.
After a few googling sessions and some tries in my SQLite Sorcerer, I found a way that works well.
select * from orders where date(creationdate)>"2009-03-01";
Dates that are stored and retrieved by AIR have to be converted using the date function in the WHERE clause of the query. You can also add modifiers as localtime for instance.
This is maybe obviously obvious for SQL gurus but really not for me, so I wanted to share the information.