I'm not strong on date formats, but I came up with this suggestion:
I didn't see a built-in SAS date format that you could use, so maybe you can create a picture format using
proc format library=work;
picture mydate low-high = '%Y0%m' (datatype=date);
If the date is already in SAS as a date formated value (I think you missed a colon after the year), then you could just apply the picture format . . .
format date_in mydate6.;
date_in = '7FEB2008:10:27:59'd;
Then, if the date is literally what you've written, then I would select the date part from this text string and reformat that to the picture format.
input date_txt $24.;
format date_new mydate6.;
date_new = input(scan(date_txt,1,"H"), date9.);
Do you want to create the datetime value to a new variable with just the date portion, or are you only interested in displaying the year/month portion of the datetime? If the latter, then you'll need to do the picture format as suggested by Christopher. If the former, then you can do something like:
justdate = datepart(dtvar);
format justdate yymmn6.;