Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2013
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. [42] pry(main)> a
  2. => Wed, 18 Dec 2013 16:18:00 +0000
  3. [43] pry(main)> b
  4. => Fri, 21 Dec 2103 06:26:00 +0000
  5. [44] pry(main)> b - a
  6. => (2958623/90)
  7. [45] pry(main)> (b - a).to_i
  8. => 32873
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement