I have repeatedly been confounded to discover just how many mistakes in both test and application code stem from misunderstandings or misconceptions about time. By this I mean both the interesting way in which computers handle time, and the fundamental gotchas inherent in how we humans have constructed our calendar — daylight savings being just the tip of the iceberg.
In fact I have seen so many of these misconceptions crop up in other people’s (and my own) programs that I thought it would be worthwhile to collect a list of the more common problems here…
A great list that shows how tricky timekeeping is, especially when two computers have to communicate timestamps to each other (I had an awful bug once in a P2P app I was writing that only manifested when two peers were in different time zones…)
So you think there are 24 hours in a day? Time is much more complicated than we often realise. You’d better read this.
Oldie but goodie:
Once, I reprogrammed my microwave clock to 24 hour time. :/
Date & Time Gothas.
I admit to some of them…
Design by Simon Fletcher. Powered by Tumblr.
© Copyright 2010