Osint Id
Osint Id
pas
'Usage: First, If you have New ID number(200806505587) then type "New" ;else you have Old ID number(671234511v) type"Old".'
);
Writeln('@Created by Achira Chiranthaka.');
Writeln('');
Writeln('Your ID No is (New/Old) ?');
Write('-> ');
Readln(NeOl);
Writeln('');
While (T<100) Do
//Created By Achira Chiranthka
Begin
If (NeOl='new') Or (NeOl='New') Or (NeOl='N') Or (NeOl='n') Or (NeOl='NEW') Or (NeOl='NeW') Or
(NeOl='NEw') Then
Begin
Write('Type you New ID No (Eg:-200806505587) -> ');
Readln(ID);
SId := ID[5]+ID[6]+ID[7];
SY := ID[1]+ID[2]+ID[3]+ID[4];
Val(SId,IId,errorCode);
T := T+1;
If IId >=500 Then
begin
G := 'FEMALE';
IId := IId-500
end
Else
G := 'MALE';
//Month
If IId <=31 Then
M := 'January'
Else
If IId <=60 Then
M := 'February'
Else
If IId <=91 Then
M := 'March'
Else
If IId <=121 Then
M := 'April'
Else
If IId <=152 Then
M := 'May'
Else
If IId <=182 Then
M := 'June'
Else
If IId <=213 Then
C:\Users\Achira_Chiranthaka\Desktop\Osint.pas
M := 'July'
Else
If IId <=244 Then
M := 'August'
Else
If IId <=274 Then
M := 'September'
Else
If IId <=305 Then
M := 'October'
Else
If IId <=335 Then
M := 'November'
Else
M := 'December';
//DATE
If IId <=31 Then
D := IId
Else
If IId <=60 Then
D := IId-31
Else
If IId <=91 Then
D := IId-60
Else
If IId <=121 Then
D := IId-91
Else
If IId <=152 Then
D := IId-121
Else
If IId <=182 Then
D := IId-152
Else
If IId <=213 Then
D := IId-182
Else
If IId <=244 Then
D := IId-213
Else
If IId <=274 Then
D := IId-244
Else
If IId <=305 Then
D := IId-274
Else
If IId <=335 Then
D := IId-305
Else
D := IId-335;
Val(Sy,SSy,errorCode);
Age := CurrentY - SSy;
Writeln('+ Date Of Birth -> ',Sy ,'-',M ,'-',D);
Writeln('+ Gender -> ', G);
Writeln('+ Age ~ ', Age, ' Years');
Writeln('');
//Created By Achira Chiranthka
End
Else
Begin
Write('Type your Old ID No (Eg:-671234511v) -> ');
Readln(ID);
SId := ID[3]+ID[4]+ID[5];
SY := '19'+ID[1]+ID[2];
T := T+1;
Val(SId,IId,errorCode);
//Created By Achira Chiranthka
If IId >=500 Then
G := 'FEMALE'
Else
G := 'MALE';
//Month
If IId <=31 Then
M := 'January'
Else
If IId <=60 Then
M := 'February'
Else
If IId <=91 Then
M := 'March'
Else
If IId <=121 Then
C:\Users\Achira_Chiranthaka\Desktop\Osint.pas
M := 'April'
Else
If IId <=152 Then
M := 'May'
Else
If IId <=182 Then
M := 'June'
Else
If IId <=213 Then
M := 'July'
Else
If IId <=244 Then
M := 'August'
Else
If IId <=274 Then
M := 'September'
Else
If IId <=305 Then
M := 'October'
Else
If IId <=335 Then
M := 'November'
Else
M := 'December';
//DATE
If IId <=31 Then
D := IId
Else
If IId <=60 Then
D := IId-31
Else
If IId <=91 Then
D := IId-60
Else
If IId <=121 Then
D := IId-91
Else
If IId <=152 Then
D := IId-121
Else
If IId <=182 Then
D := IId-152
Else
If IId <=213 Then
D := IId-182
Else
If IId <=244 Then
D := IId-213
Else
If IId <=274 Then
D := IId-244
Else
If IId <=305 Then
D := IId-274
Else
If IId <=335 Then
D := IId-305
Else
D := IId-335;
Val(Sy,SSy,errorCode);
//Created By Achira Chiranthka
Age := CurrentY - SSy;
Writeln('+ Date Of Birth -> ',Sy ,'-',M ,'-',D);
Writeln('+ Gender -> ', G);
Writeln('+ Age ~ ', Age, ' Years');
Writeln('');
End;
End;
Readln;
End.