from datetime import datetime


def get_day_and_hour(utc_time):
    """get day, hour and weekday from utc_time

    Args:
        utc_time (int): utc time

    Returns:
        Tuple[int, int, int]: hour, day and weekday
    """
    dt = datetime.utcfromtimestamp(utc_time)
    day = dt.day
    hour = dt.hour
    weekday = dt.weekday()
    return hour, day, weekday