Show time as per the local time zone
Application Type

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?



Hi Prince,

In Reactive Application OutSystems automatically convert datetime as per the user's timezone. Please see the below link -

If you want TimeZone conversion on server side then you can use below extensions -

You can use TimeZone forge component "ConvertFromTimeZone" action for that -



Thanks for the suggestion, Vinod.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.