Re: birthday calculation

From: greg(at)turnstep(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: birthday calculation
Date: 2003-07-23 21:21:25
Message-ID: 588110ba149afe0ade1dce8d707e532c@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I get their age in days, which doesn't let me take leap years into account.

SELECT extract(year FROM age(user.bday));

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200307231714

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE/HvtGvJuQZxSWSsgRAhhZAJ91pLMPxeKexIPWn8A+heShGLLCOQCeN2/k
Cl4gJIVF7Nakq9hbJrt19pg=
=Gjos
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2003-07-23 21:38:10 Re: Role Models Wanted
Previous Message nolan 2003-07-23 21:10:52 Re: Role Models Wanted