Find Your Age in Days
Find out how many days old you are, and how many days until your next birthday.
Make a website that shows days old and days until next birthday:
how it works
This example was live-coded at the Wolfram Research booth at SXSW, March 9, 2014.
How many days old are you?
How many days until your next birthday?
You can package those questions as functions. DaysOld is trivial:
DaysToNextBirthday requires a little fancy footwork to construct the date of the next birthday:
Click the URL in the previous output to visit the page.