File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change 44
44
font-size : 12px ;
45
45
}
46
46
</ style >
47
+ <!DOCTYPE html>
48
+ < html lang ="en ">
49
+ < head >
50
+ < meta charset ="UTF-8 ">
51
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
52
+ < title > Real-Time UTC Clock</ title >
53
+ < style >
54
+ body {
55
+ font-family : Arial, sans-serif;
56
+ text-align : center;
57
+ margin-top : 50px ;
58
+ }
59
+ .clock {
60
+ font-size : 2em ;
61
+ font-weight : bold;
62
+ color : # 333 ;
63
+ }
64
+ </ style >
47
65
</ head >
66
+
67
+ </ html >
68
+
48
69
< body >
49
70
< h1 > The OFFICIAL UOR Foundation Homepage</ h1 >
50
71
< p > The mission of the UOR Foundation is under development by the UOR CREATION COUNCIL.</ p >
72
+
73
+ < h1 > Greetings!</ h1 >
74
+
75
+ < h2 > Real-Time UTC Clock</ h2 >
76
+ < div class ="clock " id ="utcClock "> Loading...</ div >
77
+
78
+ < script >
79
+ function updateUTCTime ( ) {
80
+ const now = new Date ( ) ;
81
+ // Format the UTC time
82
+ const utcTime = now . toUTCString ( ) . split ( " " ) [ 4 ] ; // Extract HH:MM:SS
83
+ document . getElementById ( "utcClock" ) . textContent = `UTC Time: ${ utcTime } ` ;
84
+ }
51
85
52
- < h2 > GREETINGS!</ h2 >
86
+ // Update the clock every second
87
+ setInterval ( updateUTCTime , 1000 ) ;
88
+
89
+ // Initial update
90
+ updateUTCTime ( ) ;
91
+ </ script >
92
+
93
+ < h2 > Links</ h2 >
53
94
< nav >
54
95
< a href ="https://github.com/orgs/UOR-Foundation/repositories "> UOR Repositories</ a >
55
96
< a href ="https://drive.google.com/drive/folders/17DGUF1NwtplNFrb6IKD98Z2hFd8P10A-?usp=drive_link "> The WEEKLY Slides</ a >
You can’t perform that action at this time.
0 commit comments