<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _muck_w_date(record):
 """muck with the date because EPW starts counting from 1 and goes to 24."""

    # minute 60 is actually minute 0?
    temp_d = datetime.datetime(int(record['Year']), int(record['Month']),
                               int(record['Day']), int(record['Hour']) % 24,
                               int(record['Minute']) % 60)
    d_off = int(record['Hour'])//24   # hour 24 is actually hour 0
    if d_off > 0:
        temp_d += datetime.timedelta(days=d_off)
    return temp_d