Static methods

@:native("AddToClockTime")staticaddToClockTime(hours:Int, minutes:Int, seconds:Int):Dynamic

@:native("AdvanceClockTimeTo")staticadvanceClockTimeTo(hour:Int, minute:Int, second:Int):Dynamic

@:native("GetClockDayOfMonth")staticgetClockDayOfMonth():Int

@:native("GetClockDayOfWeek")staticgetClockDayOfWeek():Int

Gets the current day of the week.  
0: Sunday  
1: Monday  
2: Tuesday  
3: Wednesday  
4: Thursday  
5: Friday  
6: Saturday  

@:native("GetClockHours")staticgetClockHours():Int

Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9)  

@:native("GetClockMinutes")staticgetClockMinutes():Int

Gets the current ingame clock minute.  

@:native("GetClockMonth")staticgetClockMonth():Int

@:native("GetClockSeconds")staticgetClockSeconds():Int

Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in GTA is only 48 minutes in real life.  

@:native("GetClockYear")staticgetClockYear():Int

@:native("GetLocalTime")staticgetLocalTime(year:Dynamic, month:Dynamic, day:Dynamic, hour:Dynamic, minute:Dynamic, second:Dynamic):Dynamic

Gets local system time as year, month, day, hour, minute and second.  
Example usage:  
int year;  
int month;  
int day;  
int hour;  
int minute;  
int second;  
or use std::tm struct  
TIME::GET_LOCAL_TIME(&year, &month, &day, &hour, &minute, &second);  

@:native("GetMillisecondsPerGameMinute")staticgetMillisecondsPerGameMinute():Int

Returns how many real ms are equal to one game minute. A getter for SetMillisecondsPerGameMinute.

@:native("GetPosixTime")staticgetPosixTime(year:Dynamic, month:Dynamic, day:Dynamic, hour:Dynamic, minute:Dynamic, second:Dynamic):Dynamic

Gets system time as year, month, day, hour, minute and second.  
Example usage:  
	int year;  
	int month;  
	int day;  
	int hour;  
	int minute;  
	int second;  
	TIME::GET_POSIX_TIME(&year, &month, &day, &hour, &minute, &second);  

@:native("GetUtcTime")staticgetUtcTime(year:Dynamic, month:Dynamic, day:Dynamic, hour:Dynamic, minute:Dynamic, second:Dynamic):Dynamic

Gets current UTC time

@:native("PauseClock")staticpauseClock(toggle:Bool):Dynamic

@:native("SetClockDate")staticsetClockDate(day:Int, month:Int, year:Int):Dynamic

@:native("SetClockTime")staticsetClockTime(hour:Int, minute:Int, second:Int):Dynamic

SET_CLOCK_TIME(12, 34, 56);