code: def test_date_in_diff_formats():
      expected_df = pd.DataFrame(
          {"date": [1673481600000, 1676246400000, 1680220800000, None]}
      )
      expected_df.date = expected_df.date.astype("Int64")
  
      df = pd.DataFrame(
          {
              "date": [
                  "12.01.23",
                  "13.02.23",
                  "31.03.23",
                  "Date is not available",
              ]
          }
      )
      converter = DateTimeSearchKeyConverter("date")
      converted_df = converter.convert(df)
      assert_frame_equal(converted_df, expected_df)
  
      df = pd.DataFrame(
          {
              "date": [
                  "01.12.23",
                  "02.13.23",
                  "03.31.23",
                  "Date is not available",
              ]
          }
      )
      converter = DateTimeSearchKeyConverter("date")
      converted_df = converter.convert(df)
      assert_frame_equal(converted_df, expected_df)
  
      df = pd.DataFrame(
          {
              "date": [
                  "2023-01-12",
                  "2023-02-13",
                  "2023-03-31",
                  "Date is not available",
              ]
          }
      )
      converter = DateTimeSearchKeyConverter("date")
      converted_df = converter.convert(df)
      assert_frame_equal(converted_df, expected_df)
  
      df = pd.DataFrame(
          {
              "date": [
                  "01.12.2023",
                  "02.13.2023",
                  "03.31.2023",
                  "Date is not available",
              ]
          }
      )
      converter = DateTimeSearchKeyConverter("date")
      converted_df = converter.convert(df)
      assert_frame_equal(converted_df, expected_df)
  
      df = pd.DataFrame({"date": ["01.12.23", "02.13.23", "13.13.23"]})
      converter = DateTimeSearchKeyConverter("date")
      with pytest.raises(Exception, match="Failed to parse date.*"):
          converted_df = converter.convert(df)
  
imports: import ipaddress
  import random
  from datetime import date, datetime
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from upgini import Dataset, FileColumnMeaningType
  from upgini.errors import ValidationError
  from upgini.metadata import ModelTaskType, SearchKey
  from upgini.resource_bundle import bundle
  from upgini.utils.datetime_utils import DateTimeSearchKeyConverter
  from upgini.utils.email_utils import EmailSearchKeyConverter
  from upgini.utils.features_validator import FeaturesValidator
  from upgini.utils.warning_counter import WarningCounter
label_desc: Use image node_id 27 for calling a global function with example usage: test_date_in_diff_formats() without return types