date toy

April 15, 2001

I was redoing my PDA (more on that later) when I noticed that August 16th is my 10K day! I'll be 10,000 days old that day. Funny, I don't feel a day over 8000... Anyway, I was reminded that I once had plans to make this as project, making a web interface to calculate the difference between any two dates, or figure out what date is a certain number of days away from another date. At first I assumed I would do this in Perl with round trips to the server, but javascript turned out to be a better bet...

Update: 5124 days later, I released a prettier, friendlier, and more functional version of this: but I like to be able to compare that to this original version... and funny how prescient my experience with javascript vs perl was then...

So here it is. It can calculate in days, weeks, hours, minutes, and seconds. You can give it a start date and an amount of time and calculate the end date, or you can give it a start date and an end date and calculate the time in between. Birthdays are an obvious fun starting point. Or count the minutes between now and Christmas. Let me know if you find something interesting. I've seeded it with 100 days from right now to give you the idea.

start date:
end date:

from difference

between dates