Got the serverside of the time limit filtering working. Had to change
the datatype of created_at to timestamp to deal with timezone issues with mysql.