from dateutil.parser import parse
from datetime import datetime


def parse_date(given_string: str) -> datetime:
    """Parses datetimes from given string

    Args:
        given_string (str): string to parse from

    Returns:
        datetime: returns datetime object
    """
    return parse(given_string)