To calculate what day of the year it is today, follow these steps:
Get the numbered day in the current month.
Get the number of days for each whole month that has passed.
Find the total of the days that you found in Step 2.
Add the extra days for the current month you found in Step 1 to the answer found in Step 3.
That's it. You just calculated what day of the year it is out of 365. Read more