# sm.gui.ticksToTimeString

Converts ticks to a HH:MM:SS string representation.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.ticksToTimeString( ticks )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.gui.md#tickstotimestring)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `ticks` | integer | Game ticks |

**Returns:**

| Name | Type | Description |
| --- | --- | --- |
| `time` | string | Human time formatted string |
