Date range snap to hour

Is there a good way to force the date range component to snap to an hour, or possibly 15, 30 minutes, etc.?