Re: [sqlalchemy] DateTimeType

2011-10-13 Thread Michael Bayer
On Oct 13, 2011, at 4:30 PM, jn wrote: > Using: > SQLAlchemy-0.7.2 > python_sybase-0.40pre1 > Sybase ASE 12.5.3 > > I have column: > edate = Column(DateTime, nullable=False, quote=False) > > This is info printed using the fetched row: > type: > edate: Jan 28 2009 12:00AM > edate year: 2009

[sqlalchemy] DateTimeType

2011-10-13 Thread jn
Using: SQLAlchemy-0.7.2 python_sybase-0.40pre1 Sybase ASE 12.5.3 I have column: edate = Column(DateTime, nullable=False, quote=False) This is info printed using the fetched row: type: edate: Jan 28 2009 12:00AM edate year: 2009 edate month: 0 Why is the month zero-based? (I can't tell