#22 fix 64bits arithmetic in date to int64 conversion