GlobalTimeKit 1.0.0

dotnet add package GlobalTimeKit --version 1.0.0
                    
NuGet\Install-Package GlobalTimeKit -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GlobalTimeKit" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GlobalTimeKit" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="GlobalTimeKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GlobalTimeKit --version 1.0.0
                    
#r "nuget: GlobalTimeKit, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GlobalTimeKit@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GlobalTimeKit&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=GlobalTimeKit&version=1.0.0
                    
Install as a Cake Tool

GlobalTimeKit

GlobalTimeKit is a .NET 9 class library that provides extension methods for DateTime and DateTimeOffset, making it easy to handle UTC, local time, time zones, parsing, formatting, Unix timestamps, ISO 8601, and human-readable differences.

It’s designed to save developers setup time by providing a robust, ready-to-use solution for handling dates and times consistently across applications.


Features

  • Convert between Local ↔ UTC easily
  • Parse strings to UTC or Local with optional format and culture
  • Handle ISO 8601 formatted dates
  • Convert to/from Unix timestamps
  • Work with nullable DateTime/DateTimeOffset
  • Calculate human-readable differences with UTC or Local
  • Handle arrays or ranges of dates
  • Fully culture-aware and DST-safe
  • Ready for NuGet integration in any .NET project

Installation

Install via NuGet:

dotnet add package GlobalTimeKit
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 121 2/21/2026