from datetime import datetime


def get_iso_from_local_time(user_datetime: datetime):
    """
    outputs the provided datetime into an ISO date format string
    :param user_datetime: the datetime in the user's TZ
    :type user_datetime: datetime
    :return: provided datetime formatted into a ISO string
    :rtype: string
    """
    return user_datetime.isoformat()