new function days_since_reset
return the number of days since the last reset.