Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
Convert datetime to user preferred time zone
posted

I am binding igGrid with data source which contains datetime in UTC. Whenever grid load it converts datetime in browser region as you can see in image. currently I am in "Asia\Karachi" time zone, igGrid converts all dates in that time zone. But I want to convert datetime according to user preferred time zone. Also is it possible to change time zone dynamically. For example if user select 'America/Los_Angeles' convert all dates to Los_Angeles time zone and then user select Tokyo date converts to Tokyo time zone.