31 days ago from today was 26 Mar 2024, a Tuesday. As we approach calculations nearing a full month in the past, the 30 days in April 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 end of of April to potentially crossing into March. 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 March 26, 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 March 26, 2024 date.
Work days Solution
Monday
31 days back
Tuesday
March 26
Wednesday
Thursday
Friday
Saturday
Sunday
Counting back from today is Tuesday March 26, 2024 using a full calendar, and is also 744 hours ago and 23.56% of the year.
Tuesday Tuesday March 26, 2024 was the 086 day of the year. At that time, it was 23.56% through 2024.