return to top of page

JavaScript DMY Age Calculator

Calculates elapsed time from Start Date to End Date in days/months/years format.
Popular calculation is Age calculation from Birth to Current Date.

Of course there are many other possibilities:
How long you have lived in your home, how long you have been married, how long you have been retired, how long since ????, the possibilities are endless.

Assumes New Year starts on January 1st

Goto Music

This version can use two different computation methods:

  1. 30-day fixed-length months (the "8870" system is a variant of this)
  2. Calendar-length months

Please see Author Ben Buckner's explanation of birthdate calculation methods.

Also note that the fixed-length month calculation DOES NOT give the exact time elapsed!

This JavaScript utility uses tables, the forms interface, and of course JavaScript.
JavaScript is supported by most browsers today, though some very old browsers,
such as Netscape 1.0, don't.

 


Elapsed Time Calculator

Calendar:     The Gregorian Calendar is currently used by the vast majority of nations.

Month Length:

Enter Start Date and End Date to calculate elapsed time in Days Months Years





DayMonthYear
Start Date:




DayMonthYear
End Date:




Elapsed Time: Days Months Years

To perform your calculation, click on Compute button:

 



Code Source

 

This web page created by Ben Buckner. (Minor modifications by ... JIF ...)



 



musical notes musical notes


Richard Marx - Right Here Waiting For You  –  Lyrics