Hi All,
I'm working on a scenario where I'm saving date and time into my entity as per my local time zone. For example, If I'm booking a ride where I'm selecting booking/journey time so this (booking time) will be saved as per my local time zone. like this.
My requirement is like I need to show the time zone (near to my booking/journey time) if someone is looking at my webpage outside from my time zone. The time should be visible as per their time zone.
I'm having an entity with the name Time zone where all the time zones are mentioned. like this
I hope you understand my problem. Please give me some suggestions on how I can define this scenario in my application? Any help will be appreciated.
NOTE: In some places I have used the Time (datatype) for booking time and some places there is (datetime) so do I need to do some conversion?
Thanks
Prince
Hi Prince,
In Reactive Application OutSystems automatically convert datetime as per the user's timezone. Please see the below link -
https://www.outsystems.com/forums/discussion/69618/reactive-app-disable-showing-dates-in-client-timezone/
If you want TimeZone conversion on server side then you can use below extensions -
You can use TimeZone forge component "ConvertFromTimeZone" action for that -
https://www.outsystems.com/forge/component-overview/500/time-zone
Vinod
Thanks for the suggestion, Vinod.