## TimeSpan::FromTicks method


Returns a new [TimeSpan](../) object that represents the specified interval.

```cpp
static constexpr TimeSpan System::TimeSpan::FromTicks(int64_t ticks)
```


| Parameter | Type | Description |
| --- | --- | --- |
| ticks | int64_t | The time interval expressed as the number of 100-nanoseconds intervals. |

### ReturnValue

A new [TimeSpan](../) object that represents the specified interval.

## See Also

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
