UtcMilliTime 2.2.0
See the version list below for details.
dotnet add package UtcMilliTime --version 2.2.0
NuGet\Install-Package UtcMilliTime -Version 2.2.0
<PackageReference Include="UtcMilliTime" Version="2.2.0" />
<PackageVersion Include="UtcMilliTime" Version="2.2.0" />
<PackageReference Include="UtcMilliTime" />
paket add UtcMilliTime --version 2.2.0
#r "nuget: UtcMilliTime, 2.2.0"
#:package UtcMilliTime@2.2.0
#addin nuget:?package=UtcMilliTime&version=2.2.0
#tool nuget:?package=UtcMilliTime&version=2.2.0
UtcMilliTime for .NET 8.0 + .NET 10+ provides Unix time milliseconds (Int64) timestamps, similar to JavaScript's Date.now(), with cross-platform support and NTP synchronization. Features Task-based async APIs, async Main support, conversion extensions (ToIso8601String, ToUtcDateTime, etc.), and new chaining methods for timestamp manipulations (e.g., AddHours, SubtractDays).
Usage:
using UtcMilliTime;
ITime time = Clock.Time;
time.SuppressNetworkCalls = false; // Enable NTP sync
var timestamp = time.Now; // Int64 timestamp
string iso = timestamp.ToIso8601String(); // ISO-8601 string
For async Main:
await Clock.CreateAsync();
See https://github.com/JPKusumi/UtcMilliTime for details.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 2.2.0: Added chaining extensions for Unix timestamps (add/subtract for days, hours, minutes, seconds). Preserves all prior APIs and features; ready for .NET 10. See https://github.com/JPKusumi/UtcMilliTime.