def _next_datetime_with_utc_hour(utc_hour):
    today = datetime.date.today()
    start_date_time = datetime.datetime(
        year=today.year,
        month=today.month,
        day=today.day,
        hour=utc_hour,
    )

    if start_date_time < datetime.datetime.utcnow():
        one_day = datetime.timedelta(days=1)
        start_date_time += one_day

    return start_date_time
Return the next future utc datetime where hour == utc_hour
dataset/ETHPy150Open saltstack/salt/salt/states/boto_dynamodb.py/_next_datetime_with_utc_hour