On Sep 10, 2005, at 1:04 AM, Mark A. Strivens wrote:

select date_trunc('day',age(now(),dateofbirth)) from people

My questions is, is there any way to convert that figure into an age
expressed as a number days only?

Try

select current_date - dateofbirth from people;

Michael Glaesemann
grzm myrealbox com



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to