Wikinews:Water cooler/technical/archives/2019/March

displaying current time on a user page

I would like to display my current time on my personal user page on the wiki but not sure what template or what key word would be the best for this task. I think it would be great to show this information to other contributors. Gryllida (talk) 03:31, 1 March 2019 (UTC)[reply]

@Gryllida: You can use magic words: mw:Help:Magic_words. Leaderboard (talk) 22:16, 24 March 2019 (UTC)[reply]
Thanks! Do you have an example which uses the non-default timezone, please? Gryllida (talk) 22:52, 24 March 2019 (UTC)[reply]
@Gryllida: You can manipulate the time using mw:Help:Extension:ParserFunctions#.23time. So one option would be to find the GMT and then add the time zone offset. Leaderboard (talk) 23:07, 24 March 2019 (UTC)[reply]
Thank you for the advice, Leaderboard. 3:47 AM -- this appears to work great. I have now added it to my user page. Gryllida (talk) 23:26, 24 March 2019 (UTC)[reply]
Btw, I have in mind to add to the dialog tools, at some point, a facility that provides for some sort of real-time clock update; should be designed so it can simply and effectively support a high-quality time-zone-comparison facility. That would only be available, though, when viewing a page through dialog action. --Pi zero (talk) 23:48, 24 March 2019 (UTC)[reply]