I a retriving data from parse using a PFQuery, like this
var downloadQuery = PFQuery(class: "MyDatabase")
downloadQuery.findObjectsInBackgroundWithBlock({ (objects, error) -> Void in
//retriving data her
}
But is there a way that I can filter out objects created more than a week ago, or something like that?
I have used downloadQuery.whereKey("price", equalTo: "Free") to filter out certain objects but I can't figure out how to filter out objects based on the dates when they were created