Skip to content

FormatWorldTime

Hours as HH:MM.

FormatWorldTime([hours])
Parameter Type
hours number hours since midnight; without it, the world clock now (optional)

string - "13:30"

SetHudText(clock, FormatWorldTime())

GetWorldTime · the The world - clock, weather, terrain, the navmesh, the geometry group of the index