40 days ago from today was 12 Oct 2024, a Saturday. As we approach calculations over month in the past, the 30 days in November play significant roles, alongside the day of the week. Since today is Thursday, we'll have to adjust for the weekend, if you care about the number of work days. Counting backwards from today skips several weekends, meaning that subtracting 40 days takes us from the end of of November to potentially crossing far beyond November or October. For those of us focusing on workdays, subtracting 40 days ago necessitates adjustments for the fiscal calendar (don’t worry, I've accounted for it below).
All of our day calculators are measured and QA'd by our engineer. Read more about the Git process here. But here's how 40 days ago gets calculated on each visit:
40 days is Saturday October 12, 2024 or could be if you only want workdays. This calculation takes 40 days and only subtracts by the number of workdays in a week. Remember, removing the weekend from our calculation will drastically change our original Saturday October 12, 2024 date.
Work days Solution
Monday
Tuesday
Wednesday
Thursday
Friday
40 days back
Saturday
October 12
Sunday
Counting back from today is Saturday October 12, 2024 using a full calendar, and is also 960 hours ago and 78.36% of the year.
Saturday Saturday October 12, 2024 was the 286 day of the year. At that time, it was 78.36% through 2024.