Update page.tsx
This commit is contained in:
parent
33c212a116
commit
d772fcdad5
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export function Page() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// 나이 계산
|
// 나이 계산
|
||||||
const referenceDate = new Date(2010, 10, 8);
|
const referenceDate = new Date(2010, 11, 8);
|
||||||
const currentDate = new Date();
|
const currentDate = new Date();
|
||||||
let calculatedAge = currentDate.getFullYear() - referenceDate.getFullYear();
|
let calculatedAge = currentDate.getFullYear() - referenceDate.getFullYear();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue