From: Hassan Schroeder Date: 2012-08-30T10:52:34+09:00 Subject: Re: how do extract timezone from datetime object? On Wed, Aug 29, 2012 at 5:52 PM, Dan Quach wrote: > OH. thanks!!! Note: that was simplistic, and my main point, poorly made, was that `dt.methods` shows you a method 'zone' which you can use. And as Eric pointed out, to_i doesn't help with irregular timezones, e.g. Kathmandu where it's GMT +05:45 :-) -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan