31 days ago from today was 19 Apr 2024, a Friday. As we approach calculations over month in the past, the 31 days in May play significant roles, alongside the day of the week. Since today is Monday, we'll need to account for a full week before hitting weekend days. Counting backwards from today skips several weekends, meaning that subtracting 31 days takes us from the middle of of May to potentially crossing far beyond May or April. For those of us focusing on workdays, subtracting 31 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 31 days ago gets calculated on each visit:
31 days is Friday April 19, 2024 or could be if you only want workdays. This calculation takes 31 days and only subtracts by the number of workdays in a week. Remember, removing the weekend from our calculation will drastically change our original Friday April 19, 2024 date.
Work days Solution
Monday
Tuesday
Wednesday
Thursday
31 days back
Friday
April 19
Saturday
Sunday
Counting back from today is Friday April 19, 2024 using a full calendar, and is also 744 hours ago and 30.14% of the year.
Friday Friday April 19, 2024 was the 110 day of the year. At that time, it was 30.14% through 2024.