I am struggling trying to do this with Google BigQuery:
I do have a column with dates in this following STRING format:
6/9/2017 (M/D/YYYY)
This solution can work
SELECT CAST( CONCAT( SUBSTR(DT_DOCUMENTO, 0 , 4), '-' , SUBSTR(DT_DOCUMENTO, 5 , 2), '-' , SUBSTR(DT_DOCUMENTO, 7 , 2) ) AS DATE ) AS FORMAT_DATE