Reputation: 11
I have a date format like ddmmyyd10.
Is want a format that only shows day and month like this dd/mm
is that possible?
Upvotes: 0
Views: 75
Reputation: 4937
Use a length of 5 instead
data _null_;
dt = '22dec2020'd;
put dt ddmmyy5.;
run;
Upvotes: 2