Skip to content

monty27github/GlobalTimeKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages