code: def get_dates(day=26):
      """Generate dates to run benchmarks
  
      Returns: list of strings in year-month-day format.
          Example: ["2020-01-26", "2019-12-26"]
      """
      dates = []
      today = datetime.date.today()
      end = datetime.date(2019, 10, day)
      one_month = relativedelta(months=+1)
  
      if today.day >= 26:
          start = datetime.date(today.year, today.month, day)
      else:
          start = (
              datetime.date(today.year, today.month, day) - one_month
          )
  
      while start >= end:
          dates.append(start.strftime("%Y-%m-%d"))
          start -= one_month
  
      return dates
  
file_path: CrypTen/benchmarks/run_historical_benchmarks.py
imports: import argparse
  import datetime
  import os
  import shutil
  import subprocess
  from dateutil.relativedelta import relativedelta
label_desc: Use image node_id 2 for calling a global function with example usage: get_dates(day) and returns: dates