340 weeks ago from today was 19 Oct 2017, a Thursday. Anytime we’re subtracting halves of the year, we need to ensure that we’re still in 2024. It looks like 340 weeks from now will bring us back to pre 2023 and we’ll need to factor this into our subtraction because it will change the calendar and fiscal years. For larger calculations like this, I start by breaking calendar.day_name[solution.weekday()]n the year, then move into 340 weeks.
All of our day calculators are measured and QA'd by our engineer. Read more about the Git process here. But here's how 340 weeks ago gets calculated on each visit:
340 weeks is Thursday October 19, 2017 or could be if you only want workdays. This calculation takes 340 weeks and only subtracts by the number of workdays in a week. Remember, removing the weekend from our calculation will drastically change our original Thursday October 19, 2017 date.
Work weeks Solution
Monday
Tuesday
Wednesday
340 weeks back
Thursday
October 19
Friday
Saturday
Sunday
Counting back from today is Thursday October 19, 2017 using a full calendar, and is also 57120 hours ago and 80.0% of the year.
Thursday Thursday October 19, 2017 was the 292 day of the year. At that time, it was 80.0% through 2017.