31 Mar 2000 damo   » (Apprentice)

OK - so today I remembered that somewhere between one's 27th and 28th birthdays, it's the 10000th day you'll have been alive.
So, I've set out to write a little program in C that will calculate for the pedant the correct day to celebrate given the date of birth.
So far it's looking like 27 yrs, 4 months and about 19 days - depending on the fiddly leap days and different month lengths.
Wish me luck!

Growl!!! I cannot count.
It seems a rewrite is due
Haiku does not help.

Perhaps the general case is easier to solve (ie date after any number of days.) Thanks to imp for suggesting this.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!