2
Please try to enter dates in various ways by input from SAS Enterprise Guide version 7.1, but anyway the result always comes out in numerical form, follow an example of the code:
data work.family;
infile datalines;
input relation $ first_name $ birthdate: mmddyy10.;
cards;
son Frank 01/31/89
daughter June 12-25-87
brother Samuel 01/17/51
run;
In the variable bithdate the inclusion or removal of the two points, or the change in format size always result in the date in numerical form and not date:
relation first_name birthdate
son Frank 10623
daughter June 10220
brother Samuel -3271