Search based on age range when date of birth is available

I have an index with user data, each user have date of birth as a field. I want to search based on the age of the user, for example , list users with age between 20 to 30 and some other criteria. How can I achieve this using Algolia ?