code: def datetime_to_epoch(dttm: datetime) -> float:
      """Convert datetime to milliseconds to epoch"""
      if dttm.tzinfo:
          dttm = dttm.replace(tzinfo=pytz.utc)
          epoch_with_tz = pytz.utc.localize(EPOCH)
          return (dttm - epoch_with_tz).total_seconds() * 1000
      return (dttm - EPOCH).total_seconds() * 1000
  
imports: from datetime import datetime
  import pytz
label_desc: Use image node_id 1 for calling a global function with example usage: datetime_to_epoch(dttm) and returns: unknown, unknown