• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Display Date and Time format

Junior Spellweaver
Joined
Apr 27, 2015
Messages
176
Reaction score
107
For those that poke about in the database and want to find out what date and time format looks like for some entries like when a player has logged out. The database for dbo.RoleData_Account field for LogoutTime shows a long number like 1438362717
That can be converted to a readable string we can understand with this game macro:

/script DEFAULT_CHAT_FRAME:AddMessage(os.date("%c",1438362717))

This will print to a client chat box:
2015-08-01 17:11:57
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
Or using any unix timestamp <-> date converter( , for ex.)
 
Back
Top