TLio.Extensions.TimeDate 0.10.0-preview.1

This is a prerelease version of TLio.Extensions.TimeDate.
dotnet add package TLio.Extensions.TimeDate --version 0.10.0-preview.1
                    
NuGet\Install-Package TLio.Extensions.TimeDate -Version 0.10.0-preview.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="TLio.Extensions.TimeDate" Version="0.10.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TLio.Extensions.TimeDate" Version="0.10.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="TLio.Extensions.TimeDate" />
                    
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 TLio.Extensions.TimeDate --version 0.10.0-preview.1
                    
#r "nuget: TLio.Extensions.TimeDate, 0.10.0-preview.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.
#:package TLio.Extensions.TimeDate@0.10.0-preview.1
                    
#: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=TLio.Extensions.TimeDate&version=0.10.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TLio.Extensions.TimeDate&version=0.10.0-preview.1&prerelease
                    
Install as a Cake Tool

TLio.Extensions.TimeDate

Date and time functions for TLio. Format-agnostic — works against JSON, XML, and YAML through IExecutionContext<TNode>.

dotnet add package TLio.Extensions.TimeDate

Register the pack

using TLio.Extensions.TimeDate;

var options = ParseOptions<JToken>.CreateDefault();
options.FunctionsProvider.RegisterTimeDate<JToken>();

Functions

Function Purpose
datecompare Compare two dates
isdatebetween Test whether a date falls in a range
mindate Earliest date in a set
maxdate Latest date in a set
avgdate Average of a set of dates

Example

[
  { "command": "add", "path": "$.firstOrder",
    "value": "=mindate(=fetch($.orders[*].placedOn))" },
  { "command": "add", "path": "$.inQuarter",
    "value": "=isdatebetween(=fetch($.placedOn), '2026-01-01', '2026-03-31')" }
]

License

MIT — see the repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

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
0.10.0-preview.1 52 8/24/2026
0.9.0 94 8/23/2026
0.9.0-preview.14 70 8/22/2026
0.9.0-preview.13 48 8/22/2026
0.9.0-preview.12 53 8/22/2026
0.9.0-preview.11 52 8/22/2026
0.9.0-preview.10 53 8/22/2026
0.9.0-preview.9 51 8/21/2026
0.9.0-preview.8 61 8/21/2026
0.9.0-preview.7 50 8/21/2026
0.9.0-preview.6 45 8/21/2026
0.9.0-preview.5 51 8/21/2026
0.9.0-preview.4 62 8/21/2026
0.8.0 100 8/20/2026
0.1.0-preview.22 57 8/20/2026
0.1.0-preview.21 46 8/20/2026
0.1.0-preview.19 57 8/20/2026
0.1.0-preview.18 58 8/20/2026
0.1.0-preview.17 58 8/20/2026
0.1.0-preview.16 60 8/19/2026
Loading failed