The getServerTimeStr native AI script function returns the server time as a debug string. This value can be useful for debugging purposes or to track game statistics and events such as boss kills.
(serverTime: s)getServerTimeStr()
None.
Day Month DD HH:MM:SS Year
(e.g. Thu Mar 17 23:54:23 2022
).($serverTime)getServerTimeStr();
This example code gets the current server time as a debug string and stores it in the $serverTime
variable.