Uses dates collection.