Re: [sqlalchemy] Re: datetime to utc

2012-01-17 Thread Michael Bayer
On Jan 17, 2012, at 1:35 PM, Mason wrote: > This is great!! Wasn't aware of this at all. Is the does utc> part db dependent? I am only familiar with mysql, so if I > change to other db in the future, and the function is > called 'convert_to_tz' instead of 'convert_tz', will this break? I >

[sqlalchemy] Re: datetime to utc

2012-01-17 Thread Mason
This is great!! Wasn't aware of this at all. Is the part db dependent? I am only familiar with mysql, so if I change to other db in the future, and the function is called 'convert_to_tz' instead of 'convert_tz', will this break? I know I can access the named tuple using the following before.