sas totoDepends whether your dates are like a, b or c in the following example . data test; a = 201506; * YYYYMM as a number * b = '01JUN2015'd; * SAS date value with YYYYMMSpecial Functions INPUT(value, informat) Performs character--toto--numeric conversion.numeric conversion. Valueis a character variable Informatis a SAS is a SAS informatinformat, defines