from datetime import datetime


def convert_string_date_to_datetime(now_str: str) -> datetime:
    """
    Converts string of the format yyyy-dd-yy-hh-mm-ss to datetime format.
    :param now_str: str. String of the format yyyy-dd-yy-hh-mm-ss.
    """
    numbers = [int(string_number) for string_number in now_str.split("-")]
    date = datetime(numbers[0], numbers[1], numbers[2], numbers[3], numbers[4], numbers[5])
    return date