TimeSpan.ticks

Get the number of ticks that this timespan represents.

A tick correspond to an hecto-nanosecond, or 100ns. This is the way this struct stores data internally, which is the representation core.time : Duration uses.

This method can be used to construct another TimeSpan:

long ticks = myTimeSpan.ticks;
TimeSpan copyOfMyTimeSpan = TimeSpan(ticks);
struct TimeSpan
long
ticks
()

See Also

Meta