Scripting/Client/Functions/GetTime
GetTime() is the local clock in seconds since 1970 (a number, for arithmetic); GetFullTime() is the local date and time as text, "YYYY-MM-DD HH:MM:SS".
Contents
Syntax
GetTime()GetFullTime()Example
function onScriptLoad()
{
GetTime();
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- Vector
- Colour
- VectorScreen
- GetDistance
- GetTok
- IsIn
- InPoly
- date
- GetVehicleModel
- GetVehicleName
- NewTimer
- HashTable
Section: Utility
Categories: Client functions | Utility