How do I convert "1202001" to "2001-01-20" string type? I have used the below specified function to change the date format but I am getting Null. Could someone help.
DateTimeParse([XXXXX],"%m%d%Y").
Input date format --> 1202001
Output date format --> 2001-01-20