List users by Year of Birth using a foreach loop to dynamically populate years and data

So, I solved this by doing a regular get_user() and putting it inside a for loop of years and ran the get_user on each year.

$currentYear = date('Y');
$years = range($currentYear, 1900);

foreach($years as $year){

    $TotalArray = get_users(array('meta_key' => 'date_of_birth', 'meta_value' => $year, 'count_total' => true, 'meta_compare' => 'LIKE', 'role__in' => 'members'));
    $thisYearsTotal = count($TotalArray);

//echo some <tr> and <td> html for formatting.  

}