On Thu, 2007-01-02 at 07:53 +0100, jose wrote:
> Thank you Guy to answer my question.
> I know I can use the strftime property of datetime to format my dates
> as:
> 
> qry.data_inizio.strftime('%d/%m/%Y')  
> 
> but what I'm looking for, is a way to setting date style in SA or 
> psycopg2 whithout need to apply functions
> to change the default format.
> Is it possible?

You can change the date format returned by Postgres.
http://www.postgresql.org/docs/8.0/interactive/functions-formatting.html

So I expect it would be awkward to put this into SA or psychopg2, which
is why I suggested python.

-- 
--gh



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to