def self.recording_within_date(start_date, end_date)
    rel_query = scoped
    if start_date.kind_of?(Time)
      sqlite_calculation = "datetime(recorded_date, '+' || duration_seconds || ' seconds') >= :start_date"
      formatted_start_date = start_date.utc.strftime('%Y-%m-%d %H:%M:%S')