Concerning the person that is me
December 30, 2005 on 7:26 pm | In Life |Well I finally got around to writing a page about me.
It’s currently quite small, but it’ll grow over time.
Plus it’s got something geeky. It calculates my age every time you load the page :o.
It’ll probably not be EXACTLY correct because I tried to make it ‘Leap Year Compatible’, which may mean it’ll be off by 1/4th of a day. Or maybe it’s not correct at all, but that’s something I’ll discover sooner or later.
You can find the page by clicking on the ‘About Me’ tab at the navigation bar of this page, or by clicking here.
For the people that are just fascinated by my age calculation code, here it is. Although, as said, I’ve not thought it through in great detail so it may very well not be correct or a very unlogical/inefficient way of doing it.
<?php
// Server time is GMT, I was born in GMT+1
$birthdate = mktime(0, 0, 0, 6, 20, 1988) + 3600;
$birthdate = time() - $birthdate;
$birthdate /= 31557600; // a year, in seconds; 365.25 days.
echo $birthdate;
?>
Furthermore, I also updated to WordPress 2.0 and then reverted back to WordPress 1.5.2. In this process, I appear to have broken the Category links to the right of the page.
I’ll fix that some other time. Or maybe I won’t. Ha!
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^
