> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/su-library-functions/su.time/su.time.getclockseconds.md).

# SU.Time.GetClockSeconds

## SU.Time.GetClockSeconds()

Gibt die Sekundenanzahl **der Uhr** rechts oben zurück.

⇒ siehe [SU.Time.GetTotalSeconds](/s4-lua-api-de/su-library-functions/su.time/su.time.gettotalseconds.md)

#### Rückgabewert

* **Sekunden**anzahl der Uhr (z.B. 1:59:**59** Spielzeit **liefert 59**)
* -1: Fehler

#### Beispiel

```lua
local clockSeconds = SU.Time.GetClockSeconds()
```
