-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (43 loc) · 1.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Unix Timestamp Conversion</title>
<style type="text/css">
.container {
width: 350px;
}
.row {
line-height: 25px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<label for="timestamp">Unix Timestamp</label>
<input type="text" name="timestamp" value="" id="timestamp">
</div>
<div class="row">
<span>Local Time: </span>
<span id="localTime" style="font-weight:bold;">—</span>
</div>
<div class="row">
<span>GMT Time: </span>
<span id="gmtTime" style="font-weight:bold;">—</span>
</div>
<div class="row">
<span>Time Zone: </span>
<select id="timezoneList"></select>
</div>
<div class="row">
<span id="selectedTimeZone">Selected Time: </span>
<span id="selectedTimeZoneTime" style="font-weight:bold;">—</span>
</div>
</div>
<script src="js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/moment.js" type="text/javascript" charset="utf-8"></script>
<script src="js/moment-timezone-with-data.js" type="text/javascript" charset="utf-8"></script>
<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>