[Zope] select age(birthday) from web_users

Pavel Zaitsev pavel at md5.ca
Sat Sep 30 01:13:31 EDT 2006


Hi,
Query in the topic from postgresql database returns from psql line,
years, months and days. From testing same query in zope i get only days,
is there a way to force it to return as psql does return it?
As in:
brain_dev=# select age(birthday) from web_users;
          age           
------------------------ 
 13 years 8 mons 8 days
(записей: 6)

brain_dev=#

thanks
Pavel



More information about the Zope mailing list