Updated Birthdate - Months indexed from 0, not 1
This commit is contained in:
parent
11ef6304e0
commit
183d7cc741
@ -64,7 +64,7 @@
|
|||||||
<div class="subheading mb-5">
|
<div class="subheading mb-5">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.write("Age: <span class='text-dark'>" + getAge(new Date(2004, 01, 12)) + "</span>")
|
document.write("Age: <span class='text-dark'>" + getAge(new Date("2004-01-12")) + "</span>")
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
Loading…
Reference in New Issue
Block a user