code: def _date_to_pl_date(d: date) -> int:
      dt = datetime.combine(d, datetime.min.time()).replace(
          tzinfo=timezone.utc
      )
      return int(dt.timestamp()) // SECONDS_PER_DAY
  
imports: from __future__ import annotations
  import sys
  from datetime import datetime, time, timedelta, timezone
  from decimal import Context
  from functools import lru_cache
  from typing import TYPE_CHECKING, Any, Callable, Sequence, TypeVar, overload
  from polars.dependencies import _ZONEINFO_AVAILABLE, zoneinfo
label_desc: Use image node_id 7 for calling a global function with example usage: _date_to_pl_date(d) and returns: unknown