|XP is just a number|
Contract Countdownby frankus (Priest)
|on Jan 13, 2003 at 12:56 UTC||Need Help??|
Not obfuscation, just quirky.
Sometimes working in a compendium of Dilbert cartoons can be depressing.
At times like this I find it is a worthwhile experience to start wishing your life away, hell what's 100 days.
It's run from a cron script on the server with a date argument (DD/MM/YYYY) output redirected to my .plan file :^).
It tells me how many working days I have left in this contract,
I figure by the time my manager's figured out what this code does, Dr Zaius will be squeezing into 54" waist Lederhosen.
I wouldn't recommend using this algolrithm to find the number of working days between two points as it doesn't scale very well.
Gagh I got bored: