TimeOnly.Ticks Property

Definition

Gets the number of ticks that represent the time of this instance.

C#
public long Ticks { get; }

Property Value

A number representing the number of ticks of this instance.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10