anchor.diff:        Util.convertMicrosToStandardUnitString(
             Int64.parseInt(budgetAmountMicros));
   
  +  /// Converts proto [Date] into Excel date time format.
     static String _calculateDate(
             InsertionOrder_Budget_BudgetSegment_DateRange_Date date) =>
  -      '${date.month}/${date.day}/${date.year}';
  +      '${date.month}/${date.day}/${date.year} $_timeFormat';
   }
   
   /// Below are wrapper functions for Office Excel APIs.
  
positive.code:     'End Date'
    ];
  
    /// Waits for Office APIs to be ready and then creates
    /// a new spreadsheet with [sheetName] and populates the spreadsheet with
    /// entries in the [insertionOrderList].
  
negative.code:       // This formula calculates:
        // (spent / budget) / (current duration / flight duration)
        //
        // If current duration or flight duration is less than 1 day, then
        // the formula calculates:
        // (spent / budget) / (time elapsed since flight start / 24)
        // Time elapsed has the granularity of hours and minutes.
        // i.e. TEXT("1/1/2020 10:20:00 AM" - "1/1/2020 12:00:00 AM", "h.mm")
        //      = 10.2
        final formula = ''' 
        IF(OR(DATEDIF($_startDateColumn, $_endDateColumn, "D") = 0, 
              DATEDIF($_startDateColumn, NOW(), "D") = 0),
           ($_spentColumn/$_budgetColumn) / 
           (
             TEXT(NOW()-$_startDateColumn, "h.mm") / 24
           ), 
           ($_spentColumn/$_budgetColumn) /
           (
             DATEDIF($_startDateColumn, NOW(), "D") /
             DATEDIF($_startDateColumn, $_endDateColumn, "D")
           )) < $_thresholdAddress
        ''';
  
        // remove all tabs, newlines, and whitespace from the formula.
  