22nd June is the longest day of the year. Here's how you can calculate 45 days from it:
Start counting from 23 June as your first day.
Consider the number of days on both months and count directly on the calendar.
Your desired result is expected to be 6th of August.
Read more