Calculating Age from DOB Using Express as a server, it is very simple to do this. URL example: http://localhost:3000/?year=1998&month=5&date=6 You can change the values of year, month and date and check the result.