I have a custom field name "date_of_birth" on my custom post type which is in [Ymd] format on my database. Now, I want to compare that date of birth to current time and want to display "You are # years # months."
I am able to calculate Years only but it is not accurate. Help me.