Lines 3916-3922
sub GetAgeRestriction {
Link Here
|
3916 |
} |
3916 |
} |
3917 |
|
3917 |
|
3918 |
#Get how many days the borrower has to reach the age restriction |
3918 |
#Get how many days the borrower has to reach the age restriction |
3919 |
my $daysToAgeRestriction = Date_to_Days(@alloweddate) - Date_to_Days(Today); |
3919 |
my @Today = split /-/, DateTime->today->ymd(); |
|
|
3920 |
my $daysToAgeRestriction = Date_to_Days(@alloweddate) - Date_to_Days(@Today); |
3920 |
#Negative days means the borrower went past the age restriction age |
3921 |
#Negative days means the borrower went past the age restriction age |
3921 |
return ($restriction_year, $daysToAgeRestriction); |
3922 |
return ($restriction_year, $daysToAgeRestriction); |
3922 |
} |
3923 |
} |
3923 |
- |
|
|