Time is a bother when programming. Doing time calculations is always way more complicated than it may seem, especially when your calculations have to go out into the distant future. Having been bitten by time related bugs in the past, I can only smile and nod in understanding when I read that the camera auto-focus bug in the Motorola Droid is due to an unfortunate time calculation. Why they use a date stamp in their auto-focus routine is beyond my understanding, but thanks to the wonders of rounding, auto focus will toggle between working correctly and not working correctly every 24.5 days. Terrific!
Time is making fools of us again. ~J. K. Rowling