from datetime import datetime


def parseTime(date_str):
    """Return a datetime from the infineon string."""
    # (format: 01.03.2017 13:24:30)
    return datetime.strptime(date_str, '%d.%m.%Y %H:%M:%S')