calculated time to expiration of todos