What is the best way to calculate the previous week\'s start and end date in C#? I.e. today 18 March would result in 9 March (Monday last week) and 15 March (Sunday last we
using Fluent DateTime https://github.com/FluentDateTime/FluentDateTime
var dateTime = 1.Weeks().Ago(); var monday = dateTime.Previous(DayOfWeek.Sunday); var sunday = dateTime.Next(DayOfWeek.Sunday);