DataType:time

From the wonderful RedGuides Wiki

Contains data related to time


This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): GameTime, Time
time is used as a return type by these members:  [ Toggle ]

Page Member Description
achievement CompletedTime Calendar time when the achievement was completed.

Members

Type Member Description
bool Night Gives true if the current hour is considered "night" in EQ (7:00pm-6:59am)
int Day Day of the month
DayOfWeek Day of the week (1=sunday to 7=saturday)
Hour Hour (0-23)
Minute Minute (0-59)
Month Month of the year (1-12)
Second Second (0-59)
SecondsSinceMidnight Number of seconds since midnight
Year Year
string Date Date in the format MM/DD/YYYY
Hour12 Hour with AM / PM
Time12 Time in 12-hour format (HH:MM:SS)
Time24 Time in 24-hour format (HH:MM:SS)

See also