date range utility.