Parse check if object was created today? Objective-C
问题 I am trying to write a PFQuery for my application that returns only objects that were created today. With all the depreciations that happened to NSDate and the growing importance of NSDateFormatter I am finding rather hard to go about this. I have figured the logic to be like this in pseudo-code: Query q = new Query(); q.whereDateGreaterThan(midnightThisMorning); q.whereDateLessThan(midnightTonight); I can't seem to figure out how to get a NSDate object set to 12:00 AM (which would be