Why does adding a day to a time change the fractional part of seconds?
-
30-10-2019 - |
Question
pry(main)> time = Time.now
=> 2012-01-20 00:10:44 +0000
pry(main)> (time + 4.days).to_f
=> 1327363844.9709609
pry(main)> time.to_f
=> 1327018244.970961
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow