If you describe what you want to do, perhaps we can provide a more customized solution to your issue.
• How many dates do you anticipate the range will contain?
• What do you plan on using the date range for?
• Can you post a simple example?