Last Modified Date: 04 Mar 2022
Environment
Tableau Desktop, Tableau Server, Tableau Prep Builder, Tableau Online. 2020.4 and above.Resolution
Upgrade to Tableau Desktop/Server 2021.2.1, 2021.1.4, 2020.4.7 or later.Or,
In Tableau versions 2020.4.7, 2021.1.4, 2021.2.1, and above, use the localtimestamp function in your custom SQL instead of the now() function
Cause
This is a known issue that is fixed in more recent version Tableau Desktop and Tableau Server.Additional Information
"The NOW() function in Tableau calculated fields also behaves differently between the PostgreSQL ODBC and JDBC driver, irrespective of whether a custom timezone is set using initial SQL.ODBC (2020.3 and prior): The NOW() function returns local system time
JDBC (2020.4 and above): The NOW() function returns current UTC time
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Continue Searching
Knowledge Base
Community
Product Help
Training and Tutorials