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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.