DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
-
Updated
May 19, 2025 - C#
DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
Provides a testable abstraction and alternative to DateTime.Now / DateTime.UtcNow
Datetime, DateTimeOffset, TimeSpan starter code samples
DateTime Best Practices In .NET C#
A custom attribute for System.Text.Json that allows you to specify custom date formats for DateTime, DateTimeOffset, and their nullable counterparts during JSON serialization and deserialization.
Unix Time Stamp to .NET DateTime converter for Json.NET
High resolution clock
Simple C# extension methods to calculate the difference in months between two dates
FluentAssertions for DateTime, DateTimeOffset and TimeSpan.
Comparison of 'DateTimeOffset' and 'DateTime' in .Net and C#
A collection of helpful DateTimeOffset extension methods
Add a description, image, and links to the datetimeoffset topic page so that developers can more easily learn about it.
To associate your repository with the datetimeoffset topic, visit your repo's landing page and select "manage topics."