I have a database field like this:
Timestamp varchar(19) utf8mb4_unicode_ci
containing a timestamp (string) like this
"2013-05-29 00:00:00"
I am using the entity framework and I would like to filter by time - meaning I would like to get all entries having a timestamp > (now-interval). Code would look something like this
var query = from r in db.route
where
r.timestamp > (now-interval);
select r;
How can I do this?