age caculation

how can i calculate age from an earlier date

You can use the date diff function as seen here…

http://docs.php.net/datetime.diff

They also provide examples that you are looking for towards the bottom.

Sponsor our Newsletter | Privacy Policy | Terms of Service