FormatWorldTime
Hours as HH:MM.
Syntax
Section titled “Syntax”FormatWorldTime([hours])| Parameter | Type | |
|---|---|---|
hours |
number | hours since midnight; without it, the world clock now (optional) |
Returns
Section titled “Returns”string - "13:30"
Example
Section titled “Example”SetHudText(clock, FormatWorldTime())See also
Section titled “See also”GetWorldTime · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
