Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Ticks Property

DateTime.Ticks Property

.NET Micro Framework 3.0
Gets the current number of ticks in the current DateTime object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

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.

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.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show:
© 2015 Microsoft