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: 

Time Parameter Returns Incorrect Time

Anonymous
Not applicable

For some reason, the parameter keeps showing me my local time in UTC. When converting this parameter from EST, the offset is wrong. In the screenshot, you can see that my local session TZ is set to ETC/UTC (for whatever reason). It looks like the parameter is taking my OS clock time, and then appending the session TZ, creating a timestamp with an incorrect offset.

Please see the attachment as an example.

Can someone tell me how I am supposed to translate this so I can use it in a where clause? Is this a bug?

This happens when I test in Edge and Chrome. This behavior also occurs when I set our SQL endpoint to the preview channel v 2022.35

2 REPLIES 2

User16753725469
Contributor II

Anonymous
Not applicable

Hi @Zachary Higgins​ 

Hope everything is going great.

Does @Prasad Wagh​ response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly?

We'd love to hear from you.

Thanks!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now