If you want to contribute, please contact @aytimothy on Discord. (Logins and registrations are disabled due to bot spam)

Difference between revisions of "Template:Time"

From Medarot S Wiki
Jump to: navigation, search
(Restored Old Revision #3856 by Aytimothy from 2020-04-23T04:31:31 |)
Tag: Reverted
(7 intermediate revisions by one other user not shown)
Line 4: Line 4:
<html>
<html>
<script>
<script>
        // I could've just used moment.js for the whole thing :c
         var repeatFunction = setInterval(updateTime, 1000);
         var repeatFunction = setInterval(updateTime, 1000);
         function updateTime() {
         function updateTime() {
Line 105: Line 106:


{| style="width: 100%; text-align: center" class="wikitable"
{| style="width: 100%; text-align: center" class="wikitable"
! style="text-align: center" colspan="3" | Current Time
! style="text-align: center" colspan="3" | Current Time (Currently Broken)
|-
|-
! style="text-align: center" | Japan
! style="text-align: center; width: 33%" | Japan
! style="text-align: center" | GMT/UTC
! style="text-align: center; width: 33%" | GMT/UTC
! style="text-align: center" | Your Timezone
! style="text-align: center; width: 33%" | Your Timezone
|-
|-
| <div id="japantime">Loading...</div>
| <div id="japantime">Loading...</div>

Revision as of 16:32, 6 April 2021

A DateTime display that uses the user's computer clock.

Current Time (Currently Broken)
Japan GMT/UTC Your Timezone
Loading...
Loading...
Loading...