79417084

Date: 2025-02-06 07:38:25
Score: 1
Natty:
Report link

You can cast it directly to timestamp_ntz.

Sample:

select parse_json('{"summary": {"disconnectTimestamp":"2024-03-21T20:19:57.398Z"}}'::string) as test_json,
test_json:summary.disconnectTimestamp::timestamp_ntz as final_timestamp

Result

2024-03-21 20:19:57.398

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: frue