I am using Azure SQL (not the managed instance!) and run in the problem of all dates being UTC. Ofcourse I want to see the dates as if they are in my timezone (UTC+1)
Have any of you handled with this before? And if so what solution did you use?
I'm really curious on the different approaches.
Best answer by Mark JongelingView original
From 2022.2 you can make use of showing Datetime in Local time, which will utilize the set Time zone of the User inside IAM. The GUI will automatically show any stored UTC time in the local time of the User.
Nice, but it does not work with universal/indicium. My device is in Amsterdam timezone, my IAM profile is in Amsterdam timezone. Still getting one hour less than it is now.
When running application via de SF metasource, the time zone cannot be read from IAM therefore using to the stored datetime. When using the IAM metasource, the time zone in IAM will be read and used.
To my knowledge this should be working in Universal and in Windows GUI.
You can find out the specified time zone for your use running the following query:
This is the information the Universal GUI receives about your user, and will determine the shown time for any column using datetimes shown as Local. Hope this helps 😄
There is nothing in this table?
Nevermind, dbo.tsf_user() does not give the correct username ofc in a local tool… That's why the view is empty.
I've updated all users to make sure that they use Europe/Amsterdam, but still it does not show the correct time.
Are you certain the model is correctly synced to IAM, that you are using that exact application, and have your users tried logging out and back in again?
Yes, as far as I can see everything is up to date with sync. I even rebooted the app service engine to make sure it was not some caching. Also deleted all data in the browser + clear cache.
In the end there are a few parameters to take into account where the most important seems to be that the date settings of Edge are, unfortunately, not always following your system settings…