Improve day calculation between 2 dates