code: def find_dividend_by_unit(time):
      """Finds whether time best corresponds to a value in
      days, hours, minutes, or seconds.
      """
      for dividend in [86400, 3600, 60]:
          div = time / dividend
          if round(div) == div:
              return dividend
      return 1
  
file_path: featuretools/featuretools/utils/time_utils.py
imports: from datetime import datetime, timedelta
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: find_dividend_by_unit(time) and returns: int, dividend