Closed vassilevsky closed 6 years ago
$ pry [1] pry(main)> t = Time.now => 2017-11-25 19:34:56 +0400 [2] pry(main)> t.to_i => 1511624096 [3] pry(main)> (t.to_r * 10**6).to_i => 1511624096297938 [4] pry(main)> (t.to_r * 1000).to_i => 1511624096297
Thanks, good catch.
Must've been an oversight when I was reformatting the docs.