[FX.php List] PHP Calculated Age
Gjermund Gusland Thorsen
ggt667 at gmail.com
Mon Nov 6 00:54:13 MST 2006
mktime()
On 11/5/06, Jonathan Schwartz <jonathan at eschwartz.com> wrote:
> Hi Folks,
>
> Can't seem to get a handle on how to have PHP calculated an age based
> on birthdate and a particular deadline (April 30 ,2007)...and not the
> current date.
>
> So if a user was born on April 1, 2000, the age should be 6. If the
> person was born on May 1, 2000,the age would be 7. Just need the
> single digit.
>
> The problem is the data math, not the logic. Going a round in circles
> between date() time() and timestamp().
>
>
>
> Jonathan
> --
>
> Jonathan Schwartz
> FileMaker 8 Certified Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list