Board Thread:Support Requests - Getting Technical/@comment-30070810-20150911142619

if(chat.attributes.text=='!time'){botMessage(+botTarget+':It is currently Tuesday, August 27, 2024 and the time is .');}

What code do I use to make it state the date and time? Because the currentday template and etc. don't work in the chat room. Is there a way to make it work?

Btw, this is in wikia.js.

Thanks! 