Andreas Saurwein

MoreDateTime - Simplify .NET's DateTime, DateOnly, TimeOnly and TimeSpan

by
Aa simple and intuitive library for .NET, that simplifies common tasks for working with dates and times. Features over 300 methods to deal with dates and times and ranges (periods) thereof. ISO 8601-2 2019 EDTF coming soon.

Add a comment

Replies

Best
Andreas Saurwein
If you ever had troubles writing readable .NET code that deals with date and time, then this library is definitely something to look into. Full of methods that you would just expect from the standard library but that are not there. Subtract a week from a DateTime object? Why use .AddDays(-7) when you can use instead .PreviousWeek() ? Supports all common operations on date and time objects, adds weekday, workday, holiday handling, ranges (periods), enumerations, and much more.