from datetime import datetime


def string_to_date(date_str: str) -> datetime:
    """Converts date string of format "%d-%m-%Y" to `datetime` object.

    # Parameters
        `date_string` (str): Date time string.

    # Returns
        datetime: Converted date time as datetime object.
    """
    return datetime.strptime(date_str, "%d-%m-%Y")