Board Thread:Support Requests - Getting Technical/@comment-6100947-20160825072404/@comment-1757994-20160828080539

They load iframes. The HTML in the iframe is something like And the JavaScript is Basically what they do is get the time from the localtimes.info server (i.e., not relying exclusively on the user's computer time) and the timezone offset for the location you specify, Buena Park in this example, then just update it once per second. Seoul is the other one.

Getting the current time from Wikia's server is easy, although I'm not convinced it's essential. There can be some lag for the request, but it wouldn't be any worse than loading it from localtimes.info. The tricky part is getting the timezone offset, including DST, for other places. Since you have two fixed places (always California, USA, and Seoul, South Korea), that shouldn't be too bad. Korea even seems to be UTC+9 all year long (no DST). Some people in California are trying to end DST. Previously some people were trying to make DST permanent (i.e., abolish standard time).

I doubt Wikia would approve loading JavaScript from localtimes.info. So I think the thing to do is write yet another clock (there are a million JavaScript clocks on the Internet), but this one allows you to specify a foreign timezone and some DST rules. If there is an open-source one to be found, you can just copy it. If not, it has to be written, because I don't think there's anything like it on dev. The JavaScript above looks overly complex for such a simple task, so I don't recommend trying to adapt it.