Rfc3339 1.0.1

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

// Install Rfc3339 as a Cake Tool
#tool nuget:?package=Rfc3339&version=1.0.1

RFC3339: a formatter and a parser

A very simple formatter and parser for RFC 3339 dates and times, working correctly with DateTimeOffset.

Package

Available as a NuGet package.

How to use it

var dateTime = DateTime.Now;
var rfcDateTime = Rfc3339Formatter.Format(dateTime);

var dateTimeOffset = DateTimeOffset.Now;
var rfcDateTimeOffset = Rfc3339Formatter.Format(dateTimeOffset);

Rfc3339Parser.TryParse(rfcDateTime, out DateTimeOffset originalDateTimeOffset);
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Rfc3339:

Package Downloads
PropertyList

A macOS plist formatter/parser

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 172 4/2/2023
1.0.0 520 4/2/2023