Example : 2017-12-24 23:59:59.000 PST
This does not work
select date_parse(\'2017-12-24 23:59:59.000 PST\',\'%Y-%m-%d %T.%f %x\')
Sure
date_parse doesn't seem to support time zones, use parse_datetime instead:
date_parse
presto> select parse_datetime('2017-12-24 23:59:59.000 PST', 'YYYY-MM-dd HH:mm:ss.SSS z'); _col0 --------------------------------------------- 2017-12-24 23:59:59.000 America/Los_Angeles (1 row)