Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Difference between today and a date with negative numbers

$
0
0

I need to calculate the difference in days between today and a set date allowing also negative differences.

Basically it's the shipping date for each order and how many days we have left till each shipping date or how many days we are running late once the shipping date has passed.

With datediff it stops counting once today is bigger than the shipping date.


Viewing all articles
Browse latest Browse all 9782

Trending Articles