code: def set_evernote_filter(self, date_triggered, trigger):
          
          new_date_triggered = arrow.get(str(date_triggered)[:-6],
                                         'YYYY-MM-DD HH:mm:ss')
  
          new_date_triggered = str(new_date_triggered).replace(
              ':', '').replace('-', '').replace(' ', '')
          date_filter = "created:{} ".format(new_date_triggered[:-6])
  
          notebook_filter = ''
          if trigger.notebook:
              notebook_filter = "notebook:{} ".format(trigger.notebook)
          tag_filter = "tag:{} ".format(trigger.tag) if trigger.tag != '' else ''
  
          complet_filter = ''.join((notebook_filter, tag_filter, date_filter))
  
          return complet_filter
docs: build the filter that will be used by evernote
              :param date_triggered:
              :param trigger:
              :return: filter