Hi Guys,
I Have a requirement where the user will enter the date&time(date&time component) and the timezone(given in the dropdown). I want it to be converted based on the timezone user has given which in turn has to be converted again to GMT and be stored in the database, but in the screen level i want to display whatever the user has entered without any conversion. Is this achievable ?
Discussion posts and replies are publicly visible
Appian does this Automatically You don't need to do anything. When it's writing it to DB Appian Uses UTC, When you are Querying back and showing it in Appian it Uses Default timezone of User.
If you want to convert it to Someother timezone Use Local()
Ok thank you
https://appian.rocks/2023/02/13/working-with-time-in-appian/
I want to set the time zone in another country, can anyone help me? i was read but i still cant do that https://appian.rocks/2023/02/13/working-with-time-in-appian/ papa's games
What do you mean by setting the time zone in another country?
Use local() function, or else go to the process model, open process model properties, go to down and you can see a option called time zone
Thank you so much. Yes, it’s doable. Capture the user’s date, time, and timezone. Convert this to GMT for storage, then display the original user input without modification. Libraries like moment-timezone or pytz can help with the conversion. When I needed help with my essay, I decided to try https://oxessays.com/ The experience was outstanding! The writer delivered a well-researched, well-written essay that perfectly met my requirements. The process was simple, and the essay was delivered on time. The quality of the work was excellent, and I’m extremely satisfied with the results. This service really took the stress out of essay writing, and I would highly recommend it.