Displaying date in SAS
I am trying to display a date in my result after running the below program in SAS. It runs properly but in the sas data table under DOB column I don't get anything except a period .
Below is my code what am I doing wrong?
data sample;
Input ID name $ Dob;
Format DOB mmddyy10. ;
datalines;
1 abc 22jan1996
2 xyz 25aug1996
;
run;
Proc print data = sample;
run;
Also I would like to know what does a period means at the end of this line before the semicolon:
Format DOB mmddyy10. ;
Topic sas
Category Data Science