Jump to content

[SOLVED] calculate the age


asmith

Recommended Posts

hey guys

what is the shortest way to calculate a user is for example over 20 years old or not ,

 

in my form i get his birthday date . what would be the fastest way ?

 

thanks

 

(the first way i thought about is to manually calculate his birth year , and sub that to the year now , then go to month ....)

Link to comment
https://forums.phpfreaks.com/topic/87200-solved-calculate-the-age/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.