code: def test_detect_date_types():
      df = pd.DataFrame(
          {
              "dates": ["10/3/2010", "1/2/1975", "12/12/1812"],
              "more dates": ["1985-7-3", "1985-7-4", "1985-7-5"],
              "also times": [
                  "2014-01-01 06:12:39+00:00",
                  "2014-01-01 06:51:08+00:00",
                  "2014-01-01 09:58:07+00:00",
              ],
          }
      )
  
      types = detect_types(df)
      assert types.date.all()
  
imports: import os
  import pytest
  import random
  import string
  import warnings
  import numpy
  import pandas
  from sklearn.datasets import load_iris, load_digits
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import make_pipeline
  from sklearn.linear_model import LogisticRegression
  from dabl.preprocessing import USELESS_TYPES, detect_types, EasyPreprocessor, DirtyFloatCleaner, clean, _FLOAT_REGEX, _float_matching, detect_type_series
  from dabl.utils import data_df_from_bunch
  from dabl.datasets import load_titanic
  from dabl import plot
label_desc: Use image node_id 27 for calling a global function with example usage: test_detect_date_types() without return types