Export (0) Print
Expand All

DateTime.Ticks Property

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

[Visual Basic]
Public ReadOnly Property Ticks As Long
[C#]
public long Ticks {get;}
[C++]
public: __property __int64 get_Ticks();
[JScript]
public function get Ticks() : long;

Property Value

The number of ticks that represent the date and time of this instance. The value is between MinValue and MaxValue.

Remarks

The value of this property is the number of 100-nanosecond intervals that have elapsed since 12:00 A.M., January 1, 0001.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DateTime Structure | DateTime Members | System Namespace

Show:
© 2015 Microsoft