UtcMilliTime 2.2.2
See the version list below for details.
dotnet add package UtcMilliTime --version 2.2.2
NuGet\Install-Package UtcMilliTime -Version 2.2.2
<PackageReference Include="UtcMilliTime" Version="2.2.2" />
<PackageVersion Include="UtcMilliTime" Version="2.2.2" />
<PackageReference Include="UtcMilliTime" />
paket add UtcMilliTime --version 2.2.2
#r "nuget: UtcMilliTime, 2.2.2"
#:package UtcMilliTime@2.2.2
#addin nuget:?package=UtcMilliTime&version=2.2.2
#tool nuget:?package=UtcMilliTime&version=2.2.2
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.2: Patch for NuGet to pick up README.md. Includes all v2.2.1 features (chaining extensions). See https://github.com/JPKusumi/UtcMilliTime.