android - Select records newer than a specified date -
i'm working sqlite on android. within table got column of string value stores timestamp in utc formatted "yyyy-mm-dd hh:mm:ss". want compare value against timestamp that's in same format. let's want recorders newer "2013-01-01 00:00:00". how use in select statement?
example:
- table: human
- column: (text) name
- column: (text) bornonutc
and select humans born after 2013-01-01 00:00:00?
try this:
select * human bornonutc >= '2013-01-01 00:00:00'
Comments
Post a Comment