-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
574 lines (521 loc) · 30.1 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
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Days Calculator</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<meta name="description" content="The free days calculator makes it easy to figure out how many days between two dates. This day tracker can include or exclude weekends and holidays.">
<link rel="preload" href="./assets/fonts/inter-v12-latin-regular.woff2" as="font" crossorigin type="font/woff2">
<link rel="preload" href="./assets/fonts/inter-v12-latin-500.woff2" as="font" crossorigin type="font/woff2">
<link rel="preload" href="./assets/fonts/inter-v12-latin-600.woff2" as="font" crossorigin type="font/woff2">
<link rel="preload" href="./assets/fonts/inter-v12-latin-800.woff2" as="font" crossorigin type="font/woff2">
<script type="text/javascript">
window._ = document.getElementById.bind(document);
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
window.defaultSystem = "imperial";
localStorage.setItem("theme", "light");
</script>
<link rel="stylesheet" href="./assets/css/main.min.css" />
<script src="./assets/js/all-calculators.js" defer></script>
</head>
<body style="background-color: transparent !important; min-height: 0 !important">
<div style="width: 100%;">
<div style="width:350px;float:left;padding: 15px;">
<div class="calculator-settings">
<div class="calculator-setting" id="calculator_form">
<div class="calculator-content calculator-content--bookmarks">
<button class="tab-item tab-item--active" onclick="switchTab(event, 0)">Count Days</button>
<button class="tab-item" onclick="switchTab(event, 1)">Add/Subtract</button>
</div>
<div class="calculator-content col tab tab--active" data-tab="0">
<div class="input-wrapper row">
<label class="input col">
<p class="input__title">Start Date</p>
<div class="input-field row">
<input type="text" class="input-field__input datepicker_us imperial-system-item" placeholder="mm/dd/yyyy" data-inputmask="'mask': '99/99/9999', 'placeholder': 'mm/dd/yyyy'" data-target="start_date" id="start_date_us" onchange="updateDate(this)" value="09/01/2023" />
<input type="text" class="input-field__input datepicker metric-system-item system-item-hidden" placeholder="yyyy-mm-dd" data-inputmask="'mask': '9999-99-99', 'placeholder': 'yyyy-mm-dd'" data-target="start_date" id="start_date" onchange="updateDate(this)" value="2023-09-01" />
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.25 3.125H3.75C3.40482 3.125 3.125 3.40482 3.125 3.75V16.25C3.125 16.5952 3.40482 16.875 3.75 16.875H16.25C16.5952 16.875 16.875 16.5952 16.875 16.25V3.75C16.875 3.40482 16.5952 3.125 16.25 3.125Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M13.75 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6.25 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M3.125 6.875H16.875" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</label>
<label class="input col">
<p class="input__title">End Date</p>
<div class="input-field row">
<input type="text" class="input-field__input datepicker_us imperial-system-item" placeholder="mm/dd/yyyy" data-inputmask="'mask': '99/99/9999', 'placeholder': 'mm/dd/yyyy'" data-target="end_date" id="end_date_us" onchange="updateDate(this)" value="12/31/2023" />
<input type="text" class="input-field__input datepicker metric-system-item system-item-hidden" placeholder="yyyy-mm-dd" data-inputmask="'mask': '9999-99-99', 'placeholder': 'yyyy-mm-dd'" data-target="end_date" id="end_date" onchange="updateDate(this)" value="2023-12-31" />
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.25 3.125H3.75C3.40482 3.125 3.125 3.40482 3.125 3.75V16.25C3.125 16.5952 3.40482 16.875 3.75 16.875H16.25C16.5952 16.875 16.875 16.5952 16.875 16.25V3.75C16.875 3.40482 16.5952 3.125 16.25 3.125Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M13.75 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6.25 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M3.125 6.875H16.875" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</label>
</div>
</div>
<div class="calculator-content col tab" data-tab="1">
<div class="input-wrapper row">
<label class="input col">
<p class="input__title">Start Date</p>
<div class="input-field row">
<input type="text" class="input-field__input datepicker_us imperial-system-item" placeholder="mm/dd/yyyy" data-inputmask="'mask': '99/99/9999', 'placeholder': 'mm/dd/yyyy'" data-target="start_date_two" id="start_date_two_us" onchange="updateDate(this)" value="10/15/1986" />
<input type="text" class="input-field__input datepicker metric-system-item system-item-hidden" placeholder="yyyy-mm-dd" data-inputmask="'mask': '9999-99-99', 'placeholder': 'yyyy-mm-dd'" data-target="start_date_two" id="start_date_two" onchange="updateDate(this)" value="1986-10-15" />
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16.25 3.125H3.75C3.40482 3.125 3.125 3.40482 3.125 3.75V16.25C3.125 16.5952 3.40482 16.875 3.75 16.875H16.25C16.5952 16.875 16.875 16.5952 16.875 16.25V3.75C16.875 3.40482 16.5952 3.125 16.25 3.125Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M13.75 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M6.25 1.5625V3.125" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M3.125 6.875H16.875" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</label>
</div>
<div class="input-wrapper row">
<label class="input col">
<input type="hidden" value="add" id="add_subtract"/>
<button class="button-switcher button-switcher--active" type="button" onclick="switcher(this, 'add_subtract', '')" value="add" id="add_subtract-a">
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg" class="js-add-button">
<path fill='#9CA3AF' fill-rule="evenodd" clip-rule="evenodd" d="M10.25 3C10.8023 3 11.25 3.44772 11.25 4V9H16.25C16.8023 9 17.25 9.44772 17.25 10C17.25 10.5523 16.8023 11 16.25 11H11.25V16C11.25 16.5523 10.8023 17 10.25 17C9.69772 17 9.25 16.5523 9.25 16V11H4.25C3.69772 11 3.25 10.5523 3.25 10C3.25 9.44771 3.69772 9 4.25 9L9.25 9V4C9.25 3.44772 9.69772 3 10.25 3Z"></path>
</svg>
<span class="button-switcher__text button-switcher__text--active">Add</span>
</button>
</label>
<label class="input col">
<button class="button-switcher" type="button" onclick="switcher(this, 'add_subtract', '')" value="subtract" id="add_subtract-b">
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill='#9CA3AF' fill-rule="evenodd" clip-rule="evenodd" d="M3.75 10C3.75 9.73478 3.85536 9.48043 4.04289 9.29289C4.23043 9.10536 4.48478 9 4.75 9H16.75C17.0152 9 17.2696 9.10536 17.4571 9.29289C17.6446 9.48043 17.75 9.73478 17.75 10C17.75 10.2652 17.6446 10.5196 17.4571 10.7071C17.2696 10.8946 17.0152 11 16.75 11H4.75C4.48478 11 4.23043 10.8946 4.04289 10.7071C3.85536 10.5196 3.75 10.2652 3.75 10Z"></path>
</svg>
<span class="button-switcher__text">Subtract</span>
</button>
</label>
</div>
<div class="input-wrapper row">
<label class="input col age-calculator,time-calculator,time-duration-calculator,date-calculator,time-to-decimal-calculator ">
<p class="input__title">Years</p>
<div class="input-field row">
<input type="text" class="input-field__input" placeholder="" id="years" value="36" />
</div>
</label> <label class="input col age-calculator,time-calculator,time-duration-calculator,date-calculator,time-to-decimal-calculator ">
<p class="input__title">Months</p>
<div class="input-field row">
<input type="text" class="input-field__input" placeholder="" id="months" value="" />
</div>
</label> <label class="input col age-calculator,time-calculator,time-duration-calculator,date-calculator,time-to-decimal-calculator ">
<p class="input__title">Weeks</p>
<div class="input-field row">
<input type="text" class="input-field__input" placeholder="" id="weeks" value="" />
</div>
</label> <label class="input col age-calculator,time-calculator,time-duration-calculator,date-calculator,time-to-decimal-calculator ">
<p class="input__title">Days</p>
<div class="input-field row">
<input type="text" class="input-field__input" placeholder="" id="days" value="" />
</div>
</label> </div>
</div>
<div class="calculator-content calculator-content--options calculator-content--gray col tab tab--active" data-tab="0" id="option_count_holidays" >
<div class="calculator-content-head row">
<p class="calculator-content-head__title">Holidays</p>
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.7071 7.29289L9.99999 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68341 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z" fill="#9CA3AF"></path>
</svg>
</div>
<div class="calculator-content-body col">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="count_holidays" onchange="relatedToggle(event, 'count_holidays', 'disabled')" />
<span class="checkbox__box"></span>
<span class="checkbox__title">Count Holidays</span>
</label><div class="input-wrapper row related-to-count_holidays disabled">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="new_years_day" />
<span class="checkbox__box"></span>
<span class="checkbox__title">New Year's Day</span>
</label></div>
<div class="input-wrapper row related-to-count_holidays disabled">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="juneteenth_day" />
<span class="checkbox__box"></span>
<span class="checkbox__title">Juneteenth Day</span>
</label></div>
<div class="input-wrapper row related-to-count_holidays disabled">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="independence_day" />
<span class="checkbox__box"></span>
<span class="checkbox__title">Independence Day</span>
</label></div>
<div class="input-wrapper row related-to-count_holidays disabled">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="veterans_day" />
<span class="checkbox__box"></span>
<span class="checkbox__title">Veterans Day</span>
</label></div>
<div class="input-wrapper row related-to-count_holidays disabled">
<label class="checkbox">
<input type="checkbox" class="checkbox__input" id="christmas_day" />
<span class="checkbox__box"></span>
<span class="checkbox__title">Christmas Day</span>
</label></div>
<div class="input-wrapper input-wrapper--holidays row related-to-count_holidays disabled" id="count_field_labels">
<div class="input col">Holiday</div>
<div class="input col">Month</div>
<div class="input col">Day</div>
<div class="input col"> </div>
</div>
</div>
</div>
<div class="calculator-content calculator-content--gray calculator-content--footer calculator-content--small row tab tab--active" data-tab="0">
<button class="system-switcher system-switcher--format" onclick="toggleSystem(this)" aria-label="Switch System">
<div class="system-switcher__circle"></div>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.84254 5.61418C7.84254 4.72269 8.56524 4 9.45673 4C10.7869 4 11.5462 5.51856 10.7481 6.58269L7.84254 10.4567H11.4745M3 5.29135L4.08967 4.41961C4.30105 4.2505 4.61418 4.401 4.61418 4.6717V10.4567" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 5.61418C2 4.72269 2.72269 4 3.61418 4C4.94434 4 5.70362 5.51856 4.90553 6.58269L2 10.4567H5.63191M11.1086 8.51971H7.64964V7.87404L10.4168 4H11.1086V8.51971ZM11.1086 8.51971H12.4922M11.1086 8.51971V10.4567" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<script type="text/javascript">
$$(".imperial-system-item, .metric-system-item").forEach(function(element, index){
element.classList.remove("system-item-hidden");
});
$$((defaultSystem == "metric") ? ".imperial-system-item" : ".metric-system-item").forEach(function(element, index){
element.classList.add("system-item-hidden");
});
if(defaultSystem == "metric") $('.system-switcher').classList.add('system-switcher--active');
</script>
<button class="button button--primary ml-auto" onclick="calculate(this); animateElements();" data-action="calculate" id="action-button">Calculate</button>
</div>
<link rel="stylesheet" href="./assets/css/air-datepicker.min.css" defer />
<script type="text/javascript" src="./assets/js/lib/air-datepicker.js" id="datepicker_script" defer></script>
<script type="text/javascript" src="./assets/js/calculator.js" defer></script>
<div class="calculator-content calculator-content--gray calculator-content--footer calculator-content--small row tab " data-tab="1">
<button class="system-switcher system-switcher--format" onclick="toggleSystem(this)" aria-label="Switch System">
<div class="system-switcher__circle"></div>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.84254 5.61418C7.84254 4.72269 8.56524 4 9.45673 4C10.7869 4 11.5462 5.51856 10.7481 6.58269L7.84254 10.4567H11.4745M3 5.29135L4.08967 4.41961C4.30105 4.2505 4.61418 4.401 4.61418 4.6717V10.4567" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 5.61418C2 4.72269 2.72269 4 3.61418 4C4.94434 4 5.70362 5.51856 4.90553 6.58269L2 10.4567H5.63191M11.1086 8.51971H7.64964V7.87404L10.4168 4H11.1086V8.51971ZM11.1086 8.51971H12.4922M11.1086 8.51971V10.4567" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<script type="text/javascript">
$$(".imperial-system-item, .metric-system-item").forEach(function(element, index){
element.classList.remove("system-item-hidden");
});
$$((defaultSystem == "metric") ? ".imperial-system-item" : ".metric-system-item").forEach(function(element, index){
element.classList.add("system-item-hidden");
});
if(defaultSystem == "metric") $('.system-switcher').classList.add('system-switcher--active');
</script>
<button class="button button--primary ml-auto" onclick="convert(this); animateElements();" data-action="convert" id="action-button">Calculate</button>
</div>
<link rel="stylesheet" href="./assets/css/air-datepicker.min.css" defer />
<script type="text/javascript" src="./assets/js/lib/air-datepicker.js" id="datepicker_script" defer></script>
<script src="./assets/js/helpers.js"></script>
</div>
</div>
</div>
<div style="float:left;padding: 15px; overflow: scroll;">
<div class="calculator-result calculator-result--error col" id="error-box">
<div class="row">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM8.70711
7.29289C8.31658 6.90237 7.68342 6.90237 7.29289 7.29289C6.90237 7.68342 6.90237 8.31658 7.29289 8.70711L8.58579 10L7.29289 11.2929C6.90237 11.6834 6.90237 12.3166 7.29289
12.7071C7.68342 13.0976 8.31658 13.0976 8.70711 12.7071L10 11.4142L11.2929 12.7071C11.6834 13.0976 12.3166 13.0976 12.7071 12.7071C13.0976 12.3166 13.0976 11.6834 12.7071
11.2929L11.4142 10L12.7071 8.70711C13.0976 8.31658 13.0976 7.68342 12.7071 7.29289C12.3166 6.90237 11.6834 6.90237 11.2929 7.29289L10 8.58579L8.70711 7.29289Z" fill="#F87171" class="dark:fill-red-200"></path>
</svg>
<p class="calculator-error__title">There was an error with your calculation.</p>
</div>
<div class="col" id="error-list"></div>
</div> <span id="calculator_result"><style>
.result-age--range .holiday {
position: relative;
z-index: 1;
}
html.dark .result-age--range .holiday {
color: #000 !important;
}
.result-age--range .holiday::before {
background: #FEF8C3 !important;
content: "";
display: block;
position: absolute;
border-radius: 50%;
z-index: -1;
height: 1.25rem;
width: 1.25rem;
}
.result-age--range .current::before {
background: #5B21B6 !important;
}
.result-age--range .current {
color: #fff !important;
}
select.input-field__input {
height: 20px;
}
.day-col > .input-field {
padding: 9px 3px !important;
}
.month-col > .input-field {
padding: 9px 3px !important;
}
#count_field_labels {
margin-bottom: -1rem;
}
#count_field_labels .col {
font-size: 0.775rem;
color: #374151;
}
</style>
<div class="calculator-result col tab tab--active" data-tab="0">
<p class="table-cell table-cell--dark table-cell--only-title">Result</p>
<div class="table-cell table-cell--age table-cell--only row">
<div class="col result-age__text animate">
<div class="result-text">121 days</div>
<div class="result-text">86 weekdays</div>
<div class="result-text">34 weekend days</div>
</div>
<div class="row table-cell--date-count table-cell--date-left">
<div class="col result-age result-age--small result-age--range result-age--from">
<p class="date-title">From <span class="date-title date-title--date animate">01 Sep 2023</span></p>
<div>
<p>M</p>
<p>T</p>
<p>W</p>
<p>T</p>
<p>F</p>
<p>S</p>
<p>S</p>
</div>
<div class="result-age--days animate">
<p>28</p>
<p>29</p>
<p>30</p>
<p>31</p>
<p class="active current">1</p>
<p class="active current-between">2</p>
<p class="active current-between">3</p>
<p class="active current-between">4</p>
<p class="active current-between">5</p>
<p class="active current-between">6</p>
<p class="active current-between">7</p>
<p class="active current-between">8</p>
<p class="active current-between">9</p>
<p class="active current-between">10</p>
<p class="active current-between">11</p>
<p class="active current-between">12</p>
<p class="active current-between">13</p>
<p class="active current-between">14</p>
<p class="active current-between">15</p>
<p class="active current-between">16</p>
<p class="active current-between">17</p>
<p class="active current-between">18</p>
<p class="active current-between">19</p>
<p class="active current-between">20</p>
<p class="active current-between">21</p>
<p class="active current-between">22</p>
<p class="active current-between">23</p>
<p class="active current-between">24</p>
<p class="active current-between">25</p>
<p class="active current-between">26</p>
<p class="active current-between">27</p>
<p class="active current-between">28</p>
<p class="active current-between">29</p>
<p class="active current-between">30</p>
<p class="next current-between">1</p>
<p class="next current-between">2</p>
<p class="next current-between">3</p>
<p class="next current-between">4</p>
<p class="next current-between">5</p>
<p class="next current-between">6</p>
<p class="next current-between">7</p>
<p class="next current-between">8</p>
</div>
</div>
<div class="col result-age result-age--small result-age--range result-age--to">
<p class="date-title">To <span class="date-title date-title--date animate">31 Dec 2023</span></p>
<div>
<p>M</p>
<p>T</p>
<p>W</p>
<p>T</p>
<p>F</p>
<p>S</p>
<p>S</p>
</div>
<div class="result-age--days animate">
<p class="current-between">27</p>
<p class="current-between">28</p>
<p class="current-between">29</p>
<p class="current-between">30</p>
<p class="active current-between">1</p>
<p class="active current-between">2</p>
<p class="active current-between">3</p>
<p class="active current-between">4</p>
<p class="active current-between">5</p>
<p class="active current-between">6</p>
<p class="active current-between">7</p>
<p class="active current-between">8</p>
<p class="active current-between">9</p>
<p class="active current-between">10</p>
<p class="active current-between">11</p>
<p class="active current-between">12</p>
<p class="active current-between">13</p>
<p class="active current-between">14</p>
<p class="active current-between">15</p>
<p class="active current-between">16</p>
<p class="active current-between">17</p>
<p class="active current-between">18</p>
<p class="active current-between">19</p>
<p class="active current-between">20</p>
<p class="active current-between">21</p>
<p class="active current-between">22</p>
<p class="active current-between">23</p>
<p class="active current-between">24</p>
<p class="active current-between">25</p>
<p class="active current-between">26</p>
<p class="active current-between">27</p>
<p class="active current-between">28</p>
<p class="active current-between">29</p>
<p class="active current-between">30</p>
<p class="active current">31</p>
<p class="next">1</p>
<p class="next">2</p>
<p class="next">3</p>
<p class="next">4</p>
<p class="next">5</p>
<p class="next">6</p>
<p class="next">7</p>
</div>
</div>
</div>
</div>
</div>
<div class="calculator-result col tab" data-tab="1">
<p class="table-cell table-cell--dark table-cell--only-title">Result</p>
<div class="table-cell table-cell--age table-cell--date table-cell--only row">
<div class="col result-age result-age--small result-age--range result-age--from-two">
<p class="date-title">From <span class="date-title date-title--date animate">15 Oct 1986</span></p>
<div>
<p>M</p>
<p>T</p>
<p>W</p>
<p>T</p>
<p>F</p>
<p>S</p>
<p>S</p>
</div>
<div class="result-age--days animate">
<p>29</p>
<p>30</p>
<p class="active">1</p>
<p class="active">2</p>
<p class="active">3</p>
<p class="active">4</p>
<p class="active">5</p>
<p class="active">6</p>
<p class="active">7</p>
<p class="active">8</p>
<p class="active">9</p>
<p class="active">10</p>
<p class="active">11</p>
<p class="active">12</p>
<p class="active">13</p>
<p class="active">14</p>
<p class="active current">15</p>
<p class="active current-between">16</p>
<p class="active current-between">17</p>
<p class="active current-between">18</p>
<p class="active current-between">19</p>
<p class="active current-between">20</p>
<p class="active current-between">21</p>
<p class="active current-between">22</p>
<p class="active current-between">23</p>
<p class="active current-between">24</p>
<p class="active current-between">25</p>
<p class="active current-between">26</p>
<p class="active current-between">27</p>
<p class="active current-between">28</p>
<p class="active current-between">29</p>
<p class="next active current-between">30</p>
<p class="next active current-between">31</p>
<p class="next">1</p>
<p class="next">2</p>
<p class="next">3</p>
<p class="next">4</p>
<p class="next">5</p>
<p class="next">6</p>
<p class="next">7</p>
<p class="next">8</p>
<p class="next">9</p>
</div>
</div>
<div class="col result-age result-age--small result-age--range result-age--to-two">
<p class="date-title">To <span class="date-title date-title--date animate">15 Oct 2022</span></p>
<div>
<p>M</p>
<p>T</p>
<p>W</p>
<p>T</p>
<p>F</p>
<p>S</p>
<p>S</p>
</div>
<div class="result-age--days animate">
<p class="">26</p>
<p class="">27</p>
<p class="">28</p>
<p class="">29</p>
<p class="">30</p>
<p class="active current-between">1</p>
<p class="active current-between">2</p>
<p class="active current-between">3</p>
<p class="active current-between">4</p>
<p class="active current-between">5</p>
<p class="active current-between">6</p>
<p class="active current-between">7</p>
<p class="active current-between">8</p>
<p class="active current-between">9</p>
<p class="active current-between">10</p>
<p class="active current-between">11</p>
<p class="active current-between">12</p>
<p class="active current-between">13</p>
<p class="active current-between">14</p>
<p class="active current">15</p>
<p class="active">16</p>
<p class="active">17</p>
<p class="active">18</p>
<p class="active">19</p>
<p class="active">20</p>
<p class="active">21</p>
<p class="active">22</p>
<p class="active">23</p>
<p class="active">24</p>
<p class="active">25</p>
<p class="active">26</p>
<p class="next active">27</p>
<p class="next active">28</p>
<p class="next active">29</p>
<p class="next active">30</p>
<p class="next active">31</p>
<p class="next">1</p>
<p class="next">2</p>
<p class="next">3</p>
<p class="next">4</p>
<p class="next">5</p>
<p class="next">6</p>
</div>
</div>
</div>
</div>
</span>
</div>
</div>
<script async src="./assets/js/lib/math.min.js"></script>
<script defer src="./assets/js/functions.js"></script>
</body>
</html>