Perl code that is syntactically correct only on Fridays
I had an intern once who wrote similar code.  They confused 12 hour and 24 hour clocks, so the code would break after lunch.<p>Unfortunately, the intern only worked the mornings, so it took several days of back and forth before the bug could be finally put to rest.