31 days ago from today was 16 Apr 2024, a Tuesday. 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 Friday, well need to account for the weekend if you care about work days. If not, the calculation will remain the same. 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 Tuesday April 16, 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 Tuesday April 16, 2024 date.
Work days Solution
Monday
31 days back
Tuesday
April 16
Wednesday
Thursday
Friday
Saturday
Sunday
Counting back from today is Tuesday April 16, 2024 using a full calendar, and is also 744 hours ago and 29.32% of the year.
Tuesday Tuesday April 16, 2024 was the 107 day of the year. At that time, it was 29.32% through 2024.