DateTime.Ticks Property
Gets the current number of ticks in the current DateTime object.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public long Ticks { get; }
Property Value
The current number of ticks, expressed as a number ranging from the value in the MinValue field through the value in the MaxValue field.
Remarks
One tick equals 100 nanoseconds. The value of this property represents the number of ticks that have elapsed since 12:00:00 midnight, January 1, 0001.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.