import datetime as dt


def createDatetime(yr, mo, dy, hr):
    """
    Same thing as above function but converts to datetime format instead of decimal year
    """

    datetime = []
    for i in range(len(yr)):
        time = dt.datetime(yr[i], mo[i], dy[i], hr[i])
        datetime.append(time)

    return datetime