Hi there,
I think our Appian site to set as US central time. as the now() function returns "4/10/2024 12:37 PM CDT", if I want to convert it to China time, could anyone here know how to do it?
I tried this, but does not work.
local(now(), "Asia/Shanghai"), it returns: 4/10/2024 8:37 PM CDT
but it should be "4/11/2024 1:37 AM"
anyone can help?
Regards,
Lin
Discussion posts and replies are publicly visible
I suggest to first read my blog post: https://appian.rocks/2023/02/13/working-with-time-in-appian/
thanks, I will take a look.
Hi
Can i know what's the exact problem you are trying to solve?
If the user want to view the time zone in their format as the DB is anyway will be in GMT, ask them to change in profile settings.
If this is something at a backend , the mentioned blog would help.