class_docstr: Slider-based date range selection widget. 
docstr: Convenience property to retrieve the value tuple as a tuple of
  datetime objects.
  
  Added in version 1.1
docstr_tok: ["Convenience","property","to","retrieve","the","value","tuple","as","a","tuple","of","datetime","objects",".","Added","in","version","1.1"]
code: def value_as_datetime(self) -> tuple[datetime, datetime] | None:
      """Convenience property to retrieve the value tuple as a tuple of
      datetime objects.
  
      Added in version 1.1
      """
      if self.value is None:
          return None
      v1, v2 = self.value
      if isinstance(v1, numbers.Number):
          d1 = datetime.fromtimestamp(v1 / 1000, tz=timezone.utc)
      else:
          d1 = v1
      if isinstance(v2, numbers.Number):
          d2 = datetime.fromtimestamp(v2 / 1000, tz=timezone.utc)
      else:
          d2 = v2
      return d1, d2
  
imports: from __future__ import annotations
  import logging
  import numbers
  from datetime import date, datetime, timezone
  from ...core.has_props import abstract
  from ...core.properties import Bool, Color, Datetime, Either, Enum, Float, Instance, Int, Nullable, Override, Readonly, Required, Seq, String, Tuple
  from ...core.property.descriptors import UnsetValueError
  from ...core.property.singletons import Undefined
  from ...core.validation import error
  from ...core.validation.errors import EQUAL_SLIDER_START_END
  from ..formatters import TickFormatter
  from .widget import Widget
label_desc: Use image node_id 2 for calling the DateRangeSlider obj's underlying member method code with example usage: obj.value_as_datetime() and returns: d1,  d2, None