Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you really want to stress test time handling code, try to get it to accept Feburary 29, 1900 and Feburary 29, 2000. The first doesn't exist but the second does.

But really, with regards to time use whatever library came with you programming language.



That will stress it a bit, but to really torture it, see if it accepts 2012 June 30 23:59:60


Or June 1st 1905 00:02:00 in Singapore.



Well, you don't know if 31.12.2015 will have a 23:59:60 or no. These seconds are announced just prior to being added, the system couln't possibly know it.


June is already decided. We'll know either way about the December second when the next bulletin C is published, sometime next July: http://hpiers.obspm.fr/iers/bul/bulc/


Obviously no.

That's after the Mayapocolypse.


Now that's just mean! ;)


Or 30th February 1712.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: