Question
In Tableau Desktop and Tableau Prep Builder, the date and time may be displayed in 12-hour or 24-hour format, depending on the date format setting og the computer.
For example, the date&time field is stored as 24-hour format in the database: 2022-04-01 13:00:02 but if the date format setting on the computer is 12-hour, Tableau will show 1/4/2022 1:00:02 PM. Vice Versa.
How to make the format of the date&time field in Tableau align with the database?