Skip to main content
TimeSpan2 package icon

TimeSpan2

Library to extend the functionality of the TimeSpan structure to be comparable, serializable, and convertible. It also supports localized string formatting and parsing so a TimeSpan can be represented by something like "3 days, 2 hours, 19 minutes" instead of "3:02:19:00".

Total Downloads
218.5K
218,485
Published
Dec 28, 2021
Latest stable version

Install

.NET CLI
dotnet add package TimeSpan2 --version 2.4.0
Package Manager Console
Install-Package TimeSpan2 -Version 2.4.0
PackageReference
<PackageReference Include="TimeSpan2" Version="2.4.0" />

Frameworks

.NETFramework2.0 .NETFramework3.5 .NETFramework4.0 .NETFramework4.5 .NETCoreApp3.0 .NETCoreApp3.1 net5.0-windows7.0 net6.0-windows7.0

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.