select from_unixtime(unix_timestamp('02/22/2015' ,'MM/dd/yyyy'), 'yyyy-MM-dd') from table;
0
votes
This should work:
to_date(from_unixtime(unix_timestamp(regexp_replace("value", '/' , '-'), 'yyyy-MM-dd'))) as value
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more