# sm.game.getTimeOfDay

Return the fraction value of how far the current day has progressed.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.game.getTimeOfDay(  )
```

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

**Returns:**

| Type | Description |
| --- | --- |
| number | The fraction of the day cycle. |
