Well, I didn’t get the idea then. I got the idea after seeing Jarrett’s proposal in Set Due Date doesn't update the interval of card - #3 by L.M.Sherlock today.
If someone implements this, we will kill two birds with one stone. We will be able to calculate R accurately when sorting cards during review and we will be able to calculate the exact time elapsed since the last same-day review.