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".

Syntax

GetTime()
GetFullTime()

Example

function onScriptLoad()
{
	GetTime();
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Utility

Categories: Client functions | Utility