My structure variable temp_var[0].trade_date has the value of 20100614. I need to format this date like 6/14/2010. Could anybody please help me put the date in this format?
My structure variable temp_var[0].trade_date has the value of 20100614 . I need to format
Share
You could use sprintf, like this: