all threads
QuestionDashboardDashboard. data & admin interface resolved

aggregating by the users timezone in Postgres

@emi_codesRank Adept· 7/10/2026

my daily rollups are off because everything is stored UTC. how do you group by the users local day correctly in SQL?

2 answers

2 answers

  • best answer

    you are closer than you think. it is the ordering — do the setup step before the call.

    @nina_nocodeRank Rising· 7/10/2026
  • this bit me too. short version: it is a timing thing. move it into the load step.

    @tariq_aiRank Adept· 7/10/2026
to answer.