Can anyone of you help in converting the date from 20150101 to abbreviated form Jan-2015 ?
20150101
Jan-2015
I tried the below method.
x = 20
You can use a combination of strptime to convert the string to a date object and format to format to what you want:
date = "20150101" format(strptime(date,format="%Y%m%d"),"%b-%Y")