I'm part of the engineering team at Kinvey. As long as your date is in ISO-8601 format (https://en.wikipedia.org/wiki/ISO_8601), the dates will query correctly. Edge cases will occur if dates are not stored with all digits.
Example:
2012-02-08 will sort and query correctly, but 2012-2-8 will not.
As long as dates are in this format, query filters such as the below function correctly.
{"date_of_birth":{"$gt" : "1948-01-01", "$lt" : "1948-08-19"}}