Clear rules
D−N before, D+N after
Tomorrow is D−1, today is D-Day, and yesterday is D+1. The comparison uses calendar dates and does not add an extra day to the countdown.
Change the From date to calculate a historical or future countdown instead of using today.