class_docstr: Namespace for datetime related expressions.
docstr: Extract date from date(time).
  
  Applies to Date and Datetime columns.
  
  Returns
  -------
  Expr
      Expression of data type :class:`Date`.
docstr_tok: ["Extract","date","from","date","(","time",")",".","Applies","to","Date","and","Datetime","columns",".","Returns","--","--","--","-","Expr","Expression","of","data","type",":","class",":","`","Date","`","."]
code: def date(self) -> Expr:
      """
      Extract date from date(time).
  
      Applies to Date and Datetime columns.
  
      Returns
      -------
      Expr
          Expression of data type :class:`Date`.
  
      """
      return wrap_expr(self._pyexpr.dt_date())
  
imports: from __future__ import annotations
  import datetime
  from typing import TYPE_CHECKING
  import polars._reexport
  from polars import functions
  from polars.datatypes import DTYPE_TEMPORAL_UNITS, Date, Int32
  from polars.utils._parse_expr_input import parse_as_expression
  from polars.utils._wrap import wrap_expr
  from polars.utils.convert import _timedelta_to_pl_duration
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_saturating, issue_deprecation_warning, rename_use_earliest_to_ambiguous
label_desc: Use image node_id 17 for calling the ExprDateTimeNameSpace obj's underlying member method code with example usage: obj.date() and returns: wrap_expr