convert sting to Date data type in spark sql

AzeemK 516 Reputation points
2021-08-11T05:31:19.943+00:00

Whats the best way to convert this string in Date data type in spark sql

20210810 to 08/10/2021

I am keep getting null with T0_Date Function

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,080 questions
{count} votes

0 additional answers

Sort by: Most helpful