Share via


Ticks Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public ReadOnly Property Ticks As Long
public long Ticks { get; }
public:
property long long Ticks {
    long long get ();
}
member Ticks : int64 with get
function get Ticks () : long

Property Value

Type: System. . :: . .Int64
The number of ticks that represent the date and time of this instance. The value is between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.

Remarks

A single tick represents one hundred nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond.

.NET Framework Security

See Also

Reference

DateTime Structure

System Namespace