code: def convert_date_to_datetime(obj: dt.date) -> float:
      """Convert a date object to a datetime
  
      Args:
          obj (date) : the object to convert
  
      Returns:
          datetime
  
      """
      return (
          dt.datetime(*obj.timetuple()[:6], tzinfo=dt.timezone.utc)
          - DT_EPOCH
      ).total_seconds() * 1000
  
imports: from __future__ import annotations
  import logging
  import datetime
  import uuid
  from functools import lru_cache
  from threading import Lock
  from typing import TYPE_CHECKING, Any
  import numpy
  from ..core.types import ID
  from ..settings import settings
  from .strings import format_docstring
label_desc: Use image node_id 5 for calling a global function with example usage: convert_date_to_datetime(obj) and returns: unknown