Time
Time

The time object provides simple time-keeping methods you can use in your game

Creation
 
TimeCreates a new Time object
Functions
 
Frame time
FrameTimeReturns the current frame time in 1/1000s
FrameTimeIsReturns TRUE if the frame time matches the given time
FrameTimeOverReturns TRUE if the frame time is over the given time
FrameTimeUnderReturns TRUE if the frame time is under the given time
FrameTimeBetweenReturns TRUE if the frame time is between the given times
EveryReturns TRUE at given regular intervals since the given frame time
Game time
GameTimeReturns the current game time in 1/1000s
GameTimeIsReturns TRUE if the game time matches the given time
GameTimeOverReturns TRUE if the game time is over the given time
GameTimeUnderReturns TRUE if the game time is under the given time
GameTimeBetweenReturns TRUE if the game time is between the given times
System time
SystemTimeReturns the current system time in 1/1000s
SystemTimeIsReturns TRUE if the system time matches the given time
SystemTimeOverReturns TRUE if the system time is over the given time
SystemTimeUnderReturns TRUE if the system time is under the given time
SystemTimeBetweenReturns TRUE if the system time is between the given times
Idle
GetIdleForReturns the amount of time the player has been idle for
HasBeenIdleForReturns TRUE if the player has been idle for longer than the given time
Date & time
CurrentMillisecondReturns the current millisecond of the "real" time
CurrentSecondReturns the current second of the "real" time
CurrentMinuteReturns the current minute of the "real" time
CurrentHourReturns the current hour of the "real" time
CurrentDayAlias of CurrentDayOfMonth
CurrentDayOfWeekReturns the current day of the week
CurrentDayOfMonthReturns the current day of the month
CurrentDayOfYearReturns the current day of the year
CurrentWeekReturns the current week number
CurrentMonthReturns the current month
CurrentYearReturns the current year
Leap year
IsLeapYearReturns TRUE if the given / current year is a leap year
GetDaysInYearReturns the no. of days in the given / current year



JAM © 2005 no one in partiular
Project started by David Evans in 2005