Invalid format for date

0

This is the query I use in the view to put the string to date: "date_parse"("ctr"."currentagentsnapshot"."agentstatus"."starttimestamp", '%Y-%m-%dT%H:%i:%sZ') "StartTimestamp"

starttimestamp=2022-04-05T01:03:08.234Z

I am getting the below error. Can anyone help, I am guessing there is an issue with '%sZ':

INVALID_FUNCTION_ARGUMENT: Invalid format: "2022-04-04T23:04:59.001Z" is malformed at ".001Z" This query ran against the "connect_metrics" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: b4920385-1417-40aa-b788-ae7e9432cbd7

Thanks John

질문됨 2년 전161회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠