Skip to main content

Timeline for 100 Day Countdown

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Apr 10, 2017 at 15:15 comment added snail_ p Time.now+864e4 is around 4 days behind p Time.now+8640000 on TIO. I tried it multiple times. However, if you use puts, this distinction doesn't exist. I don't really know if my locale matters, US East should be pretty normal :P I guess I'll try running it on my own PC when I get home.
Apr 10, 2017 at 13:41 comment added G B I don't understand, I get the same result with both. Can you post an example? Maybe it depends on the locale?
Apr 10, 2017 at 13:09 comment added snail_ Was going to answer this, nice. But I get different results for 864e4 and 8640000 and I don't quite know why. I blame TIO. EDIT: when you use p, the two values produce a different result. But when you use puts, they're the same.
Apr 6, 2017 at 6:03 history answered G B CC BY-SA 3.0