I hope this question is alright to ask here. I am trying to make an algorithm that counts how manythe days between 2two dates. For example, e.g. between 3/1/2012 and 3/2/2012. Whats
What is the correct answer, or the most popular choice, and should? Should be the one I use? So in
In this case, if I don't include both dates I am comparing, its 0. Ifthe days are 0; if I include one of them (both the start date), its 1. Lastly,the days are 1; if I include both, itsthe days are 2. Thanks.