UtcMilliTime NuGet Package

UtcMilliTime for .NET 8.0 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, and conversion extensions (ToIso8601String, ToUtcDateTime, etc.). Version 1.0.1 remains available for .NET Standard 2.0 (Windows-only).

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.0.0
Author(s): John Kusumi
Last Update: Friday, July 11, 2025
.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

29