xtd 0.2.0
Loading...
Searching...
No Matches

◆ ticks()

int64 xtd::time_span::ticks ( ) const
noexcept

Gets the number of ticks that represent the value of the current xtd::time_span structure.

Returns
The number of ticks contained in this instance.
Remarks
The smallest unit of time is the tick, which is equal to 100 nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond. The value of the xtd::time_span::ticks property can be negative or positive to represent a negative or positive time interval.
Examples
time_span.cpp.