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)
Dependencies
Tags
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.