
The other day I came across
this
website that was promoting a wordpress
plugin that displays the hijri date in blog entries. I thought this was
a fantastic idea and I should try and implement this on my site. As a
muslim I think I ought use the hijri calendar system. I also thought it
would be easy to implement this given the wide choice of open source
software available on the net. I didn't think I could program the
actual gregorian to hijri conversion myself. I just wanted a php script
that I could modify. Unfortunately the code provided on that site was
not upto the mark. It kept outputting incorrect dates. And despite my
initial optimism it took lots and lots of googling before I came across
a useable script. In this post I describe how I modified this script
and integrated it with serendipity to achieve the effect you see above
(at least at the time of writing). I also provide links to the
neccessary code so you can implement this same effect on your blog!