3 ms·
Maybe if the date is "close" to the end of the month (as in fewer than X days from the end of the month), then count in the days left, so Jan 31st (0 days left)
by paulclinger 6y ago
Maybe if the date is "close" to the end of the month (as in fewer than X days from the end of the month), then count in the days left, so Jan 31st (0 days left) becomes Feb 28th and then to Mar 31st and so on.