Export (0) Print
Expand All
3 out of 5 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.