Added 2 tests for date2num() and num2date)
Fixed 2 bugs in num2date() that were causing month/year overflow in the case of datetime that had a fraction of days in the last day of the month/year