I have a SAS data sets with a few date variables. I need to save them in mmddyy8. format so that some Access file can read it in mmddyy8. format. With informat and format, both doesn't save the date in mmddyy8. format permanently.
I used datepart, and the results are 0s. This is what I did:
data new;
set old;
newVar = datepart(oldVar);
run;
I used datepart, and the results are 0s. This is what I did:
data new;
set old;
newVar = datepart(oldVar);
run;