-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
182 lines (175 loc) · 7.4 KB
/
index.html
File metadata and controls
182 lines (175 loc) · 7.4 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>DateKit - Date Difference, Date Math, Unix Time Converter</title>
<meta name="description" content="Free date calculator: date difference, add/subtract days, and Unix timestamp converter in one fast page." />
<meta name="robots" content="index,follow" />
<link rel="canonical" href="https://devtoolbox.dedyn.io/datekit/" />
<link rel="sitemap" type="application/xml" title="DateKit Sitemap" href="https://devtoolbox.dedyn.io/datekit/sitemap.xml" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="DateKit" />
<meta property="og:locale" content="en_US" />
<meta property="og:title" content="DateKit - Free Date Calculator" />
<meta property="og:description" content="Date difference, date math, and Unix timestamp conversion." />
<meta property="og:url" content="https://devtoolbox.dedyn.io/datekit/" />
<meta property="og:image" content="https://devtoolbox.dedyn.io/og/default.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="DateKit - Free Date Calculator" />
<meta name="twitter:description" content="Date difference, date math, and Unix timestamp conversion." />
<meta name="twitter:image" content="https://devtoolbox.dedyn.io/og/default.png" />
<meta name="theme-color" content="#0f172a" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Mono:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div class="bg-orb bg-orb-a"></div>
<div class="bg-orb bg-orb-b"></div>
<main class="page">
<header class="hero">
<p class="kicker">DateKit</p>
<h1>Date Tools That Stay Out Of Your Way</h1>
<p class="subtitle">Calculate date differences, shift dates by days, and convert Unix timestamps without switching tabs.</p>
<nav class="tool-links" aria-label="Popular date calculators">
<a class="pill-link" href="./days-between-dates.html">Days Between Dates</a>
<a class="pill-link" href="./add-subtract-days.html">Add Or Subtract Days</a>
<a class="pill-link" href="./unix-timestamp-converter.html">Unix Timestamp Converter</a>
</nav>
</header>
<section class="grid">
<article class="card" aria-labelledby="diff-title">
<h2 id="diff-title">Date Difference</h2>
<label>
Start
<input id="diff-start" type="datetime-local" />
</label>
<label>
End
<input id="diff-end" type="datetime-local" />
</label>
<button id="diff-run" type="button">Calculate</button>
<div id="diff-result" class="result" aria-live="polite"></div>
</article>
<article class="card" aria-labelledby="math-title">
<h2 id="math-title">Add / Subtract Days</h2>
<label>
Base date
<input id="math-base" type="date" />
</label>
<label>
Days (negative allowed)
<input id="math-days" type="number" step="1" value="30" />
</label>
<button id="math-run" type="button">Compute</button>
<div id="math-result" class="result" aria-live="polite"></div>
</article>
<article class="card" aria-labelledby="unix-title">
<h2 id="unix-title">Unix Timestamp Converter</h2>
<label>
Date & time
<input id="unix-date" type="datetime-local" />
</label>
<button id="unix-from-date" type="button">To Unix</button>
<label>
Unix (seconds or milliseconds)
<input id="unix-input" type="text" inputmode="numeric" placeholder="1700000000" />
</label>
<button id="unix-to-date" type="button">To Date</button>
<div id="unix-result" class="result" aria-live="polite"></div>
</article>
</section>
<section class="faq" aria-labelledby="faq-title">
<h2 id="faq-title">Common Questions</h2>
<details>
<summary>Can I calculate timezone differences?</summary>
<p>DateKit calculates based on your browser locale and displays UTC output for Unix conversions. For timezone-to-timezone scheduling, convert each time to Unix first.</p>
</details>
<details>
<summary>Does DateKit support negative date offsets?</summary>
<p>Yes. Use a negative number in Add / Subtract Days to move backwards from the base date.</p>
</details>
<details>
<summary>What Unix formats are accepted?</summary>
<p>You can input Unix seconds (10 digits) or milliseconds (13 digits). DateKit auto-detects the unit and returns local, UTC, and ISO values.</p>
</details>
<details>
<summary>Is DateKit free to use?</summary>
<p>Yes. DateKit runs fully in your browser and is free to use.</p>
</details>
</section>
<footer class="footer">
<a href="/" aria-label="Back to DevToolbox home">Back to DevToolbox</a>
<button id="copy-link" type="button">Copy URL</button>
<span id="copy-status" class="copy-status" aria-live="polite"></span>
</footer>
</main>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "DateKit",
"url": "https://devtoolbox.dedyn.io/datekit/",
"applicationCategory": "UtilitiesApplication",
"applicationSubCategory": "Date and Time Calculator",
"operatingSystem": "Web",
"description": "Date difference calculator, date math tool, and Unix timestamp converter.",
"inLanguage": "en",
"isAccessibleForFree": true,
"featureList": [
"Date difference with signed duration output",
"Add or subtract days from any base date",
"Convert between Unix timestamps and human-readable dates"
],
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Can I calculate timezone differences?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DateKit calculates using your browser locale and shows UTC output for Unix conversions. For timezone scheduling, convert each local time to Unix first."
}
},
{
"@type": "Question",
"name": "Does DateKit support negative date offsets?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. Enter a negative number in Add / Subtract Days to move backwards from the base date."
}
},
{
"@type": "Question",
"name": "What Unix formats are accepted?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DateKit accepts Unix seconds and Unix milliseconds, detects the unit automatically, and returns local, UTC, and ISO outputs."
}
},
{
"@type": "Question",
"name": "Is DateKit free to use?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. DateKit is free and runs in your browser."
}
}
]
}
</script>
<script src="./app.js" defer></script>
</body>
</html>