from datetime import datetime


def get_datetime_str() -> str:
    """returns a date/time string in ISO format.

    Returns
    -------
    str
        a date/time string in ISO format.
    """
    return datetime.now().isoformat(timespec="milliseconds") + "Z"