Python Equivalent??
Roy Smith
roy at panix.com
Tue Mar 9 17:08:58 EST 2004
In article <1a378204.0403091353.c06c62b at posting.google.com>,
scummer at 3squares.com (scummer) wrote:
> into Python and not having a great amount of luck. Simply put, I need
> to pass the method a datetime string, with a given pattern, and have
> the timezone set on it to UTC--without changing the time value. For
> example, if I pass these values:
I think you're looking for the strptime() function in the time module,
i.e. time.strptime().
More information about the Python-list
mailing list