class_docstr: **Bases:** :class:`AxisItem <pyqtgraph.AxisItem>`
  
  An AxisItem that displays dates from unix timestamps.
  
  The display format is adjusted automatically depending on the current time
  density (seconds/point) on the axis. For more details on changing this
  behaviour, see :func:`setZoomLevelForDensity() <pyqtgraph.DateAxisItem.setZoomLevelForDensity>`.
  
  Can be added to an existing plot e.g. via 
  :func:`setAxisItems({'bottom':axis}) <pyqtgraph.PlotItem.setAxisItems>`.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","AxisItem","<","pyqtgraph.AxisItem",">","`","An","AxisItem","that","displays","dates","from","unix","timestamps",".","The","display","format","is","adjusted","automatically","depending","on","the","current","time","density","(","seconds\/point",")","on","the","axis",".","For","more","details","on","changing","this","behaviour",",","see",":","func",":","`","setZoomLevelForDensity","(",")","<","pyqtgraph.DateAxisItem.setZoomLevelForDensity",">","`",".","Can","be","added","to","an","existing","plot","e.g",".","via",":","func",":","`","setAxisItems","(","{","'bottom","'",":","axis","}",")","<","pyqtgraph.PlotItem.setAxisItems",">","`","."]
docstr: Create a new DateAxisItem.
  
  For `orientation` and `**kwargs`, see
  :func:`AxisItem.__init__ <pyqtgraph.AxisItem.__init__>`.
docstr_tok: ["Create","a","new","DateAxisItem",".","For","`","orientation","`","and","`","*","*","kwargs","`",",","see",":","func",":","`","AxisItem.__init__","<","pyqtgraph.AxisItem.__init__",">","`","."]
code: def __init__(self, orientation="bottom", utcOffset=None, **kwargs):
      """
      Create a new DateAxisItem.
  
      For `orientation` and `**kwargs`, see
      :func:`AxisItem.__init__ <pyqtgraph.AxisItem.__init__>`.
  
      """
  
      super(DateAxisItem, self).__init__(orientation, **kwargs)
      # Set the zoom level to use depending on the time density on the axis
      if utcOffset is None:
          utcOffset = getOffsetFromUtc()
      self.utcOffset = utcOffset
  
      self.zoomLevels = OrderedDict(
          [
              (np.inf, YEAR_MONTH_ZOOM_LEVEL),
              (5 * 3600 * 24, MONTH_DAY_ZOOM_LEVEL),
              (6 * 3600, DAY_HOUR_ZOOM_LEVEL),
              (15 * 60, HOUR_MINUTE_ZOOM_LEVEL),
              (30, HMS_ZOOM_LEVEL),
              (1, MS_ZOOM_LEVEL),
          ]
      )
      self.autoSIPrefix = False
  
imports: import sys
  import time
  from collections import OrderedDict
  from datetime import datetime, timedelta, timezone
  import numpy
  from .AxisItem import AxisItem
label_desc: Use image node_id 1 to create a new DateAxisItem object from inherited base classes: AxisItem with example: obj = DateAxisItem(orientation, utcOffset)