def format_time(row):
    """Format the date and time into ISO 8601 format YYYY-MM-DDThh:mm:ss+00:00"""

    # ISO 8601 format YYYY-MM-DDThh:mm:ss+00:00
    return row['date_time'].strftime('%Y-%m-%dT%H:%M:%S+00:00')