

def calculate_day(year, month, day, hour):
    return ((((((367 * year) - ((7 * (year + ((month + 9) / 12))) / 4)) + ((275 * month) / 9)) + day) - 730530) + (float(hour) / float(24)))

dataset/ETHPy150Open lhartikk/AstroBuild/astro_build.py calculate_day/original