Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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 CSTBut my conversion above gives me the output 09-06-2022 04:56 amwhich is wrong.Can anyone please suggest why am I getting the wrong answer?