robcrozier Posted April 21, 2006 Share Posted April 21, 2006 can anyone help me? im trying to get the exact age of a person from my database using their date of birth. Obviously you subtract their date of birth from the current date and that gets you somewhere close but i need to fidn out if their birthday has passed etc in order to find out exactly how old they arecheers!!! Quote Link to comment https://forums.phpfreaks.com/topic/8036-getting-exact-age-of-a-person-given-their-dob/ Share on other sites More sharing options...
fenway Posted April 21, 2006 Share Posted April 21, 2006 I'm not sure I understand -- the date math you describe will give you their precise age. If you need to know if their birthday has passed, simply look at the date and forget about the year. Quote Link to comment https://forums.phpfreaks.com/topic/8036-getting-exact-age-of-a-person-given-their-dob/#findComment-29357 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.