Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ChannaK
Creator
Creator

Datetime

i have date like below

2023-10-13 07:42:41 UTC

 

can we convert this in AM PM format?

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Perhaps

Timestamp(Timestamp#(Replace(MyDateTime, 'UTC',''),'YYYY-MM-DD hh:mm:ss'),'YYYY-MM-DD hh:mm:ss TT')

View solution in original post

2 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hello,

try with 

TimeStamp(Timestamp#(PurgeChar(FIELD,'UTC'),'YYYY-MM-DD hh:mm:ss'),'YYYY-MM-DD hh:mm:ss[.fff] TT')

BrunPierre
Partner - Master
Partner - Master

Perhaps

Timestamp(Timestamp#(Replace(MyDateTime, 'UTC',''),'YYYY-MM-DD hh:mm:ss'),'YYYY-MM-DD hh:mm:ss TT')