BUG: catch overflow of nominator in datetime conversions

closes gh-4486
Merge pull request #4518 from juliantaylor/datetime-overflow

BUG: catch overflow of nominator in datetime conversions