多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[C\_DateAndTime.AdjustTimeByDays](https://wow.gamepedia.com/API_C_DateAndTime.AdjustTimeByDays "API C DateAndTime.AdjustTimeByDays")(date, days) - Returns the date after a given amount of days. [C\_DateAndTime.AdjustTimeByMinutes](https://wow.gamepedia.com/API_C_DateAndTime.AdjustTimeByMinutes "API C DateAndTime.AdjustTimeByMinutes")(date, minutes) - Returns the date after a given amount of minutes. [C\_DateAndTime.CompareCalendarTime](https://wow.gamepedia.com/API_C_DateAndTime.CompareCalendarTime "API C DateAndTime.CompareCalendarTime")(lhsCalendarTime, rhsCalendarTime) - Compares two dates with eachother. [C\_DateAndTime.GetCalendarTimeFromEpoch](https://wow.gamepedia.com/API_C_DateAndTime.GetCalendarTimeFromEpoch "API C DateAndTime.GetCalendarTimeFromEpoch")(epoch) - Returns the date of a given amount of time since the UNIX epoch. [C\_DateAndTime.GetCurrentCalendarTime](https://wow.gamepedia.com/API_C_DateAndTime.GetCurrentCalendarTime "API C DateAndTime.GetCurrentCalendarTime")() - Returns the current date and time. [C\_DateAndTime.GetServerTimeLocal](https://wow.gamepedia.com/API_C_DateAndTime.GetServerTimeLocal "API C DateAndTime.GetServerTimeLocal")() - Returns the local server time as a Unix timestamp. [C\_Timer.After](https://wow.gamepedia.com/API_C_Timer.After "API C Timer.After")(duration, callback) - Runs callback after given duration. [GetGameTime](https://wow.gamepedia.com/API_GetGameTime "API GetGameTime")() - Returns the time in-game. [GetLocalGameTime](https://wow.gamepedia.com/index.php?title=API_GetLocalGameTime&action=edit&redlink=1 "API GetLocalGameTime (page does not exist)")() [GetServerTime](https://wow.gamepedia.com/API_GetServerTime "API GetServerTime")() [GetSessionTime](https://wow.gamepedia.com/index.php?title=API_GetSessionTime&action=edit&redlink=1 "API GetSessionTime (page does not exist)")() [GetTime](https://wow.gamepedia.com/API_GetTime "API GetTime")() - Returns the system uptime in seconds (millisecond precision). [GetTimePreciseSec](https://wow.gamepedia.com/index.php?title=API_GetTimePreciseSec&action=edit&redlink=1 "API GetTimePreciseSec (page does not exist)")() [RequestTimePlayed](https://wow.gamepedia.com/API_RequestTimePlayed "API RequestTimePlayed")() - Request a summary of time played from the server. UI[C\_Timer.NewTicker](https://wow.gamepedia.com/API_C_Timer.NewTicker "API C Timer.NewTicker")(duration, callback\[, iterations\]) - Runs callback multiple times iterating every given duration. (Cancelable) UI[C\_Timer.NewTimer](https://wow.gamepedia.com/API_C_Timer.NewTimer "API C Timer.NewTimer")(duration, callback) - Runs callback after given duration. (Cancelable) UI[SecondsToTime](https://wow.gamepedia.com/API_SecondsToTime "API SecondsToTime")(seconds \[, noSeconds, notAbbreviated, maxCount, roundUp\]) - Converts a number of seconds into a readable formatted string. UI[SecondsToTimeAbbrev](https://wow.gamepedia.com/API_SecondsToTimeAbbrev "API SecondsToTimeAbbrev")(seconds) - Converts a number of seconds into a readable and abbreviated formatted string. DEPRECATED (8.1.0)[C\_DateAndTime.GetDateFromEpoch](https://wow.gamepedia.com/API_C_DateAndTime.GetDateFromEpoch "API C DateAndTime.GetDateFromEpoch")(epoch) DEPRECATED (8.1.0)[C\_DateAndTime.GetTodaysDate](https://wow.gamepedia.com/API_C_DateAndTime.GetTodaysDate "API C DateAndTime.GetTodaysDate")() DEPRECATED (8.1.0)[C\_DateAndTime.GetYesterdaysDate](https://wow.gamepedia.com/API_C_DateAndTime.GetYesterdaysDate "API C DateAndTime.GetYesterdaysDate")() See also: [date](https://wow.gamepedia.com/API_date "API date")(format, time) - Returns the current date according to the user's machine. [time](https://wow.gamepedia.com/API_time "API time")(table) - Returns time in seconds since epoch (00:00:00 Jan 1 1970). #### Debugging