realpdm

Untitled

Jul 6th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. irb(main):036:0> tz = TZInfo::Timezone.get('America/Los_Angeles')
  2. => #<TZInfo::DataTimezone: America/Los_Angeles>
  3. irb(main):037:0> tz.now
  4. => 2012-07-06 09:10:37 UTC
Advertisement
Add Comment
Please, Sign In to add comment