TLio.Extensions.TimeDate
0.10.0-preview.2
This is a prerelease version of TLio.Extensions.TimeDate.
dotnet add package TLio.Extensions.TimeDate --version 0.10.0-preview.2
NuGet\Install-Package TLio.Extensions.TimeDate -Version 0.10.0-preview.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="TLio.Extensions.TimeDate" Version="0.10.0-preview.2" />
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.2" />
<PackageReference Include="TLio.Extensions.TimeDate" />
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.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TLio.Extensions.TimeDate, 0.10.0-preview.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.
#:package TLio.Extensions.TimeDate@0.10.0-preview.2
#: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.2&prerelease
#tool nuget:?package=TLio.Extensions.TimeDate&version=0.10.0-preview.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net10.0
- TLio.Core (>= 0.10.0-preview.2)
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.2 | 41 | 9/13/2026 |
| 0.10.0-preview.1 | 65 | 8/24/2026 |
| 0.9.0 | 103 | 8/23/2026 |
| 0.9.0-preview.14 | 79 | 8/22/2026 |
| 0.9.0-preview.13 | 55 | 8/22/2026 |
| 0.9.0-preview.12 | 61 | 8/22/2026 |
| 0.9.0-preview.11 | 59 | 8/22/2026 |
| 0.9.0-preview.10 | 60 | 8/22/2026 |
| 0.9.0-preview.9 | 58 | 8/21/2026 |
| 0.9.0-preview.8 | 67 | 8/21/2026 |
| 0.9.0-preview.7 | 57 | 8/21/2026 |
| 0.9.0-preview.6 | 50 | 8/21/2026 |
| 0.9.0-preview.5 | 56 | 8/21/2026 |
| 0.9.0-preview.4 | 66 | 8/21/2026 |
| 0.8.0 | 108 | 8/20/2026 |
| 0.1.0-preview.22 | 64 | 8/20/2026 |
| 0.1.0-preview.21 | 54 | 8/20/2026 |
| 0.1.0-preview.19 | 63 | 8/20/2026 |
| 0.1.0-preview.18 | 65 | 8/20/2026 |
| 0.1.0-preview.17 | 66 | 8/20/2026 |
Loading failed