Changed date for query