This is an easy way to get the number of days between today and any future date without having to acount for Hours, Minutes, and Seconds.
#include <Date.au3>
Func ShowDays($FutureDate)
$iDaysDiff = _DateDiff('D', _NowCalcDate(), $FutureDate)
If $iDaysDiff < 1 Then Return 0 ;Insure only positive return
Return $iDaysDiff
EndFunc ;==GoPR
MsgBox(0, '', ShowDays("2017/07/31"))
I use it to know how many days till I go on my next vacation.
Maybe one of you can find a use for it.