Skip to main content

วิธีการคำนวณ Age

learn.whatIsHeading

An age calculator determines the exact elapsed time from a birth date to today (or any target date), accounting for varying month lengths and leap years.

คำแนะนำทีละขั้นตอน

  1. 1Subtract birth year from current year to get base age
  2. 2If birthday has not yet passed this year, subtract 1 from the result
  3. 3For exact days: count days elapsed since last birthday
  4. 4Leap years (Feb 29 birthdays) are counted as Feb 28 in non-leap years

ตัวอย่างที่มีคำตอบ

อินพุต
Born Jan 15, 1990 → Apr 1, 2025
ผลลัพธ์
35 years, 2 months, 17 days
อินพุต
Born Feb 29, 2000 → Apr 1, 2025
ผลลัพธ์
25 years, 1 month, 1 day
Leap day counted as Feb 28 in non-leap years

การตั้งค่า