from datetime import datetime


def get_eso_file_timestamp(timestamp):
    """Return date and time of the eso file generation as a Datetime."""
    timestamp = timestamp.split("=")[1].strip()
    return datetime.strptime(timestamp, "%Y.%m.%d %H:%M")