- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
That would be make lots of meth.
Admin
600 = 6:00 am 6 = 6 (am)
1400 = 2:00 pm 24 - 14 = 10 (pm)
1500 = 3:00 pm 24 - 15 = 9 (pm)
Solution: $hour = $hour - 12;
Admin
I recently started working at a new company, a small startup. The code has gone through many hands in the past year or two, most of whom are no longer with us. When I first started reading through the code I found just about that EXACT same function.