활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Need to convert the String attribute from source connector(Data landing zone) to Date time in AEP.
Tried to convert using below methods but either it is throwing an error or updating the empty values.
Please let us know is there any other process to perform it.
Eg: Source data(String-"20220607") Expected output(DateTime)
해결되었습니다! 솔루션으로 이동.
The field name should not be quoted.
I would also try, just in case
date(trim(field_name), 'yyyyMMdd')
Hey,
I tried with the below and got the result,
date('20220607', 'yyyyMMdd')
조회 수
답글
좋아요 수
Hi @birthariyamayank ,
Thanks for looking into the issue. Tried the above method still it return null values. PFA screenshot.
Thanks,
Vishnu K.
조회 수
답글
좋아요 수
The field name should not be quoted.
I would also try, just in case
date(trim(field_name), 'yyyyMMdd')
Thanks for looking this up further. But still get null values.
From Source column name is "Date Time". Tried both the methods nothing worked.
e.g: date(trim(Date_Time), 'yyyyMMdd')
date(trim(DateTime), 'yyyyMMdd')
조회 수
답글
좋아요 수
조회 수
Likes
답글