TradeWindsDateTime 1.0.0.2

dotnet add package TradeWindsDateTime --version 1.0.0.2                
NuGet\Install-Package TradeWindsDateTime -Version 1.0.0.2                
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="TradeWindsDateTime" Version="1.0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TradeWindsDateTime --version 1.0.0.2                
#r "nuget: TradeWindsDateTime, 1.0.0.2"                
#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.
// Install TradeWindsDateTime as a Cake Addin
#addin nuget:?package=TradeWindsDateTime&version=1.0.0.2

// Install TradeWindsDateTime as a Cake Tool
#tool nuget:?package=TradeWindsDateTime&version=1.0.0.2                

TradeWindsDateTime

These are some classes I created for handling the DateTime. The primary class is DateTimeZone which is DateTime+TimeZone.

When working with DateTime across timezones, do not use UTC Offset - that will always bite you in the ass sooner or later. Daylight Savings Time start/end is a political decision and it changes regularly.

The DateTimeZone can be saved in a database as the DateTime & the TimeZoneId (string). Entity Framework handles a DateTimeZone property fine, nothing extra is needed (it saves it as 2 columns).

This is under the MIT license. If you find this useful I ask (not a requirement) that you consider reading my book I DON’T KNOW WHAT I’M DOING!: How a Programmer Became a Successful Startup CEO.

And if you like it, please review it on Amazon and/or GoodReads. The number of legitimate reviews helps a lot. Much appreciated.

NodaTime

If you need significant additional datetime functionality, use nodatime instead of this library. This library is useful if the only additional datetime functionality you need is the DateTimeZone class.

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

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TradeWindsDateTime:

Package Downloads
InvitationBuilder

Provides a single object that will create invitations for .ICS, Outlook, Google, etc.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.2 159 10/3/2024
1.0.0.1 125 10/1/2024