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">
|
||||
|
||||
<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>
|
||||
|
||||
<br />
|
||||
|
Loading…
Reference in New Issue
Block a user