Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 II
Partner - Master II

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 II
Partner - Master II

Perhaps

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