Re:Falsehoods Programmers believe about Time
by NoahSussman on Wednesday June 20, 2012 @12:48AM
(#4135670)
The specific issue that bit me wrt units of time was seconds vs. milliseconds. This came up the first time I needed to mix PHP time stamps with Jenkins build log time stamps. One is in seconds, the other in milliseconds. Unfortunately the PHP date() function exhibits odd behavior when a time stamp contains two extra digits. I could have saved myself the debugging time had I not been so attached to the assumption that time stamps are always in seconds rather than sometimes in milliseconds.
[ Parent
| on HN ]
There are no comments on this comment yet.