johnf wrote:
> Hi,
>
> I'm using FreeTDS (MS SQL database access lib) and for datetime fields it 
> returns a type 'DateTimeType'.  I need it in type 'datetime.datetime'.  There 
> is very little in the form of a tutorial that explains what I need to do.  
>   
if a datetimetype object has a __str__ or __repr__ method,
you can probably just use datetime.datetime's parsing system to convert 
it from a string into a datetime.datetime object.
> Can someone help me with this issue.
>
> John
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>   

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to