cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Timezone understanding

Aviral-Bhardwaj
Esteemed Contributor III

Today I was working in Timezone kind of data but my Singapore user want to see their time in the Data and USA user want to see their time in the data

instead of both, we all are getting UTC time,how to solve this issue

Please guide

Data can be anything but time should be there

AviralBhardwaj
1 ACCEPTED SOLUTION

Accepted Solutions

Prabakar
Databricks Employee
Databricks Employee
6 REPLIES 6

Aviral-Bhardwaj
Esteemed Contributor III

@Pat Sienkiewicz​ , @Hubert Dudek​  please guide me here

AviralBhardwaj

Prabakar
Databricks Employee
Databricks Employee

Aviral-Bhardwaj
Esteemed Contributor III

@Prabakar Ammeappin​  you are always awesome but the thing is that I don't want to do this with my customer , I just want whenever they will query they will get their time zone ,without any query update

AviralBhardwaj

Hubert-Dudek
Esteemed Contributor III

In SQL Admin Console, you can set a timezone parameter, but it will be for the whole workspace https://docs.databricks.com/sql/admin/sql-configuration-parameters.html.

Additionally, how your customer connects? It may be easier to do on a tool like PowerBI.

daniel_sahal
Esteemed Contributor

I don't think that there's an easy way to switch the timezones when reading the data. Even if it was possible then it could cause some data inconsistency (ex. different date could be reported within different timezones).

If you really need that IMO you should create some custom views that shows the data with different timezones.

Aviral-Bhardwaj
Esteemed Contributor III

I got it guys it was happening due to a library conflict now your answers are really helpful I tried all things

AviralBhardwaj

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group