Re:What every programmer should know about time
by roel_v on Monday July 04, 2011 @04:20AM
(#2725818)
boost::date_time. I've cursed at it in the beginning, but it does things the Right Way, and I've been saved a number of times by its fighting back against shortcuts (like using Unix time - the issues identified in the article are real and a good summary, but the solution only works for the case where you need to work within a limited time span, from 1970 until a few decades into this century.)
[ Parent
| on HN ]
Re:What every programmer should know about time
by exDM69 on Monday July 04, 2011 @01:59PM
(#2727257)
C++0x standard library is pretty nice too. std::chrono and std::thread work nicely together.
Right now I'm working with C, pthreads and struct timespec's and it makes me wish for a good time handling library.