GET_CLOCK_DAY_OF_WEEK
Gets the current day of the week.
Hash
0x4DD02D4C7FB30076Runtime name
GetClockDayOfWeekNamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD972E4BD7AEB235FSignature
int GET_CLOCK_DAY_OF_WEEK();Returns int
Description
Gets the current day of the week.
0: Sunday
1: Monday
2: Tuesday
3: Wednesday
4: Thursday
5: Friday
6: Saturday
Usage
local retval = GetClockDayOfWeek()
-- always works, by hash
local retval = Citizen.InvokeNative(0x4DD02D4C7FB30076, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetClockDayOfWeek();
// by hash
const retval = Citizen.invokeNative('0x4DD02D4C7FB30076', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x4DD02D4C7FB30076);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.