import pytz


def getLocalTime(UTC_time):
    """
    Transforms message time to local timezone
    :param UTC_time: message datetime in UTC timezone
    :return: local date and time
    """
    local_tz = pytz.timezone('Asia/Jerusalem')
    local_datetime = UTC_time.replace(tzinfo=pytz.utc).astimezone(local_tz)

    datetime_list = str(local_datetime.date()).split('-')

    local_date = datetime_list[2] + '/' + datetime_list[1] + '/' + datetime_list[0]
    local_time = str(local_datetime.time())
    return local_date, local_time