def revertDateTimeToLongString(dt):
    """
    Turns a date/time into a long string as needed by midas code.
    """
    return str(dt).replace("-", "").replace(" ", "").replace("T", "").replace(":", "")