Here's how to calculate the time from July 14th to the 1st of June:
Consider the total number of days from July 14th to the end of the year, i.e., 170 days.
Add them to the number of days from the beginning of the next year to the 1st of June. For example, from the 1st of January till the 1st of June, we have 151 days or 152 for the leap year.
170 + 151 = 321 or 322 for the leap year
Read more