_GET_SECONDS_SINCE_BASE_YEAR
Base year is 1898.
Hash
0x78FD8BE812E436B2Runtime name
GetSecondsSinceBaseYearNamespaceCLOCK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_SECONDS_SINCE_BASE_YEAR();Returns int
Description
Base year is 1898.
Usage
local retval = GetSecondsSinceBaseYear()
-- always works, by hash
local retval = Citizen.InvokeNative(0x78FD8BE812E436B2, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetSecondsSinceBaseYear();
// by hash
const retval = Citizen.invokeNative('0x78FD8BE812E436B2', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x78FD8BE812E436B2);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.