-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (34 loc) · 1.33 KB
/
index.html
File metadata and controls
34 lines (34 loc) · 1.33 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discord Unix Timestamp Generator</title>
<link rel="stylesheet" href="assets/styles.css">
</head>
<body>
<div class="container">
<h1>Discord Unix Timestamp Generator</h1>
<div class="selector-container">
<label for="datetime-picker">Select Date and Time:</label>
<input type="datetime-local" id="datetime-picker" name="datetime-picker">
</div>
<div class="format-container">
<label for="format-selector">Select Timestamp Format:</label>
<select id="format-selector" name="format-selector">
<option value="d">Short Date (d)</option>
<option value="D">Long Date (D)</option>
<option value="t">Short Time (t)</option>
<option value="T">Long Time (T)</option>
<option value="f">Full Date (f)</option>
<option value="F">Full Date (F)</option>
</select>
</div>
<div class="result-container">
<h2>Generated Timestamp</h2>
<p id="timestamp-result">Select a date and time to see the timestamp.</p>
</div>
</div>
<script src="assets/script.js"></script>
</body>
</html>