This example uses an array to calculate the Julian Date (number of days since the start of the year). It also uses the onblur and onchange events, which will be discussed later.
Enter the month (1-12):
Enter the day in month (1-31):
Julian Date is (will fill in):