date type conversion error

ashkd7310
New Contributor II

Hello,

I am trying to convert the date in MM/dd/yyyy format. So I am first using the date_format function and converting the date into MM/dd/yyyy. So it becomes string. However, my use case is to have the data as date. so I am again converting the string into date by using to_date function. However, it becomes null when I am doing that way. 

I have tried many ways but unable to solve. Is this something databricks doesn't support to store the date in the format of  MM/dd/yyyy?