UtcMilliTime NuGet Package

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.




Got any UtcMilliTime Question?





Info

Version: 2.2.3
Author(s): John Kusumi
Last Update: Wednesday, February 4, 2026
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/JPKusumi/UtcMilliTime
NuGet Url: https://www.nuget.org/packages/UtcMilliTime


Install
Install-Package UtcMilliTime
dotnet add package UtcMilliTime
paket add UtcMilliTime
UtcMilliTime Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

5