Time
¶
Object used to return information on real time, not game time.
Forms¶
time Time
¶
Associated DataTypes¶
time¶
- Represents a unit of clock time.
-
Members
string
Date
¶- Date in the format MM/DD/YYYY
int
Day
¶- Day of the month
int
DayOfWeek
¶- Day of the week (1=sunday to 7=saturday)
int
Hour
¶- Hour (0-23)
int
Hour12
¶- Hour (0-11)
int
Millisecond
¶- Millisecond (0-999)
int64
MillisecondsSinceEpoch
¶- Number of milliseconds since the epoch (January 1, 1970)
int
MillisecondsSinceMidnight
¶- Number of milliseconds since midnight
int
Minute
¶- Minute (0-59)
int
Month
¶- Month of the year (1-12)
bool
Night
¶- Gives true if the current hour is considered "night" in EQ (7:00pm-6:59am)
int
Second
¶- Second (0-59)
int
SecondsSinceMidnight
¶- Number of seconds since midnight
string
Time12
¶- Time in 12-hour format (HH:MM:SS)
string
Time24
¶- Time in 24-hour format (HH:MM:SS)
int
Year
¶- Year
string
(To String)
¶- Same as Time24
Usage¶
/echo ${Time.DayOfWeek}
Returns the day of the week