BUG: to_sql no longer raises an AttributeError when saving an OBB date
- [x] closes #26761
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

So does this fully close the associated issue? Might be overlooking but I see the OutofBoundsError in the issue which isn't checked for here The `OutofBoundsError` is no longer the issue since I think an Index with `object` dtype is created to hold the OOB date. The new issue is that the Index with `object` dtype raises an `AttributeError` since it doesn't have a `tz` attribute