# FromTicks(long)

> Explicitly converts a tick value to a DiscreteTime value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.IntegerTime](/engine/6000.7/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static DiscreteTime FromTicks(long v)
```

### Parameters

**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): The tick count.

### Returns

| Type                                                                              | Description                      |
| --------------------------------------------------------------------------------- | -------------------------------- |
| [DiscreteTime](/engine/6000.7/script-reference/unity/integertime/discretetime.md) | The DiscreteTime representation. |
