I have a SQLite timestamp in the format of YYYY-MM-DDTHH:MM:SS (ex: 2013-07-26T08:01:05-04:00 ) I'd like to make a query that matches all entries on a particular day (2013-07-26)
From articles like this one I know that you can make greater than/less than compairson like this:
select * from foo created_at > "2013-07-25" and created_at < "2013-07-26";
But this seems weird and inefficient to program dynamically. What I'd like to do is have a query like the following:
select * from foo created_at = "2013-07-25";
or
select * from foo created_at like "2013-07-25";
But both of those do not return any results. What am I missing?