How can I fetch user registration age

Solved the above task, posting the answer here so that someone can use the code

I added this code in functions.php

function is_user_video_perweek( $reg_days_ago )
{
    $currentuser = wp_get_current_user();
    return ( isset( $currentuser->data->user_registered ) && strtotime( $currentuser->data->user_registered ) < strtotime( sprintf( '-%d days', $reg_days_ago ) ) );    
}

and then in footer.php I called this function and wrote conditions to disable links using javascript example

<?php if( is_user_video_perweek( 84 ) )
{
?>
<script type="text/javascript">

    jQuery(".page-id-1572 #allvideos a").css("pointer-events", "auto");

</script>
<?php
}elseif( is_user_video_perweek( 0 ) ){?>
<script type="text/javascript">

    jQuery(".page-id-1572 #allvideos a").css("pointer-events", "none");

</script>
<?php } ?>