code: def get_seconds_from_date(date):
      """
      The number of seconds from the epoch.
  
      Parameters
      ----------
      date: datetime
  
      Returns
      -------
      int
  
      """
      epoch = datetime.utcfromtimestamp(0)
      epoch = epoch.replace(tzinfo=pytz.UTC)
  
      return int((date - epoch).total_seconds())
  
file_path: catalyst/catalyst/exchange/utils/datetime_utils.py
imports: import calendar
  import math
  import re
  from datetime import datetime, timedelta, date
  import pandas
  import pytz
  from catalyst.exchange.exchange_errors import InvalidHistoryFrequencyError, InvalidHistoryFrequencyAlias
label_desc: Use image node_id 2 for calling a global function with example usage: get_seconds_from_date(date) and returns: int