TimeSpan greater than "days" defined as ISO 8601 and subtracted/added to DateTime

2 weeks ago 7
ARTICLE AD BOX

I'm looking into a running timestamp based on a time span subtracted from a given datetime. The .NET documentation says TimeSpan can't go above days, but I need to be able to define a greater timespan. Like

DateTime past = DateTime.Now - TimeSpan.Parse("P3M4D");

I'm actively trying not to be forced to parse the ISO 8601 string into a series of DateTime.Now.AddMonths(-3); or similar.

Ideally the past should result in a date that takes month/year length into account.

Would Noda Time or similar be able to do this, and how if so?

Read Entire Article