Hello - You may be able to take advantage of the MDY function (see: https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000199044.htm). Basically you will need to read you current string (start_date), decompose it into month, day, year information - and use MDY to create the SAS date value (and apply a format later on so you can see the date in your preferred format). If month or day are missing then you can simply replace the values with 1 to create first day or month dates. For unformatted values (for example 40073) RW9's tip can be applied I think. Hope I'm making sense. Thanks, Udo
... View more