Handle dates range