03-08-2016 06:30 PM
Currently my date variable is in the format of mmyy (i.e. 01/2010)
I used the following code to read the data. While everything is read correctly, it automatically added first day of the month for each DOB (i.e. 01May1990).
data temp; infile 'C:\users\'; informat DOB anydtdte.; format DOB date9.; input DOB run;
Is there a way to add the 15th day of the month instead?
For simplicity I left out all the other variables like gender, postal code etc from informat and input function.
Thanks in advance!!