from datetime import datetime


def parse_user_dateTime(dateTime: str):
    """parse a user-submitted date for insertion into DataBase

    Args:
        dateTime (str): a string containing a dateTime in the format %d.%m.%Y %H:%M

    Returns:
        str: parsed dateTime to Database format
    """
    date_time_obj = datetime.strptime(dateTime, "%d.%m.%Y %H:%M")
    return date_time_obj.strftime("%Y-%m-%d %H:%M:%S")