Re: question on storing dates in a tuple

2010-02-10 Thread Rhodri James
On Thu, 11 Feb 2010 01:17:17 -, m_ahlenius wrote: Hi, I have a weird question about tuples. I am getting some dates from a mysql db, using the mysqldb interface. I am doing a standard query with several of the fields are "datetime" format in mysql. When I retrieve and print them in pytho

Re: question on storing dates in a tuple

2010-02-10 Thread Chris Rebert
On Wed, Feb 10, 2010 at 5:17 PM, m_ahlenius wrote: > Hi, > > I have a weird question about tuples.  I am getting some dates from a > mysql db, using the mysqldb interface.  I am doing a standard query > with several of the fields are "datetime" format in mysql. > When I retrieve and print them in

question on storing dates in a tuple

2010-02-10 Thread m_ahlenius
Hi, I have a weird question about tuples. I am getting some dates from a mysql db, using the mysqldb interface. I am doing a standard query with several of the fields are "datetime" format in mysql. When I retrieve and print them in python, they look fine. eg. storeddate = 2010-02-07 12:03:41