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: 
jchacko_rxsense
Partner - Contributor III
Partner - Contributor III

Convert CST to Eastern Time Zone

I have the following code:

if ('$(pTimeZone)' = 'CST',Timestamp(ConvertToLocalTime(LatestDate,'Eastern Time (US & Canada)'),'MM-DD-YYYY hh:mm tt')

my LatestDate value is  2022-09-16 08:56 in CST

But my conversion above gives me the output 09-06-2022 04:56 am

which is wrong.

Can anyone please suggest why am I getting the wrong answer?

Labels (1)
0 Replies