58 weeks ago from today was 15 Mar 2023, a Wednesday. Anytime we’re subtracting halves of the year, we need to ensure that we’re still in 2024. It looks like 58 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 58 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 58 weeks ago gets calculated on each visit:
58 weeks is Wednesday March 15, 2023 or could be if you only want workdays. This calculation takes 58 weeks and only subtracts by the number of workdays in a week. Remember, removing the weekend from our calculation will drastically change our original Wednesday March 15, 2023 date.
Work weeks Solution
Monday
Tuesday
58 weeks back
Wednesday
March 15
Thursday
Friday
Saturday
Sunday
Counting back from today is Wednesday March 15, 2023 using a full calendar, and is also 9744 hours ago and 20.27% of the year.
Wednesday Wednesday March 15, 2023 was the 074 day of the year. At that time, it was 20.27% through 2023.