rudimentary day count (no card)

This commit is contained in:
2022-12-11 00:49:37 +01:00
parent bb49ea78b4
commit 01f484cc6c

View File

@@ -25,8 +25,15 @@ const PageIndex = () => {
</div> </div>
</div> </div>
<div className={styles.stats}> <div className={styles.stats}>
<h1>Hello!</h1> <h1>Hejo!</h1>
<p>This is the index test page.</p> <p>
Gractwo istnieje od{" "}
{Math.floor(
// (Date.now() - new Date("06.07.2020").getTime()) / 86400000
(Date.now() - new Date("2020-07-06").getTime()) / 86400000
)}
{" dni"}.
</p>
</div> </div>
</> </>
); );