DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
-
Updated
Jul 8, 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
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.
DateTime Best Practices In .NET C#
Unix Time Stamp to .NET DateTime converter for Json.NET
A collection of helpful DateTimeOffset extension methods
Robust and timezone-safe handling of DateTime and DateOnly values in .NET APIs, with custom JSON converters and Angular usage guidelines to prevent silent UTC/local mismatches during serialization and deserialization.
High resolution clock
Simple C# extension methods to calculate the difference in months between two dates
FluentAssertions for DateTime, DateTimeOffset and TimeSpan.
Normalize dates in your API with the Timezone Date Normalization API. Fix naive time issues and ensure accurate date handling across user time zones. 🌍✨
Comparison of 'DateTimeOffset' and 'DateTime' in .Net and C#
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."