Skip to main content
December 23, 2022

Cube View DatePicker, Time Zone and Custom Calculate

  • December 23, 2022
  • 11 replies
  • 8 views

We're working on a solution, where users can enter and view a date through a Cube View using the Cell Type Date. The challenge is how OneStream handles date's (datetime) with time-zones. When a date is saved to the backend, it's converted to UTC time-zone. The Date component in the Cube View is also Time-Zone aware, so that it uses the local time of the user, to convert back from the backend UTC to local-time. The challenge with this is 2 fold:

1) Assuming we would calculate a rent for a given period. The user, based in CET time-zone, enters 2022-1-15 using the Gridview. This date is converted to 2022-1-14 as UTC (2022-1-14 23:00:00). Using a Custom Calculate method to calculate the rent from start (2022-1-15), now adds one day more, as the server time is UTC. (don't mention Daylight Saving Zone) 

2) If another user, based in US Central, is reviewing data in the same Grid View (and same POV), this user will see a wrong date, as the server UTC date, is converted to this user's local time

Is there a way to specify in the Cube View, that when using the Date/DateTime picker, that the component should ignore time-zones? Or are there other usable solutions for this issue?

Cheers

11 replies

January 14, 2025

When I opened a ticket on this the OS support team tested updating a Cube View with users in multiple locations, my use case is US Time Zones, APAC Time Zones and EMEA Time Zones. They found the issue consistent with my experience and explained that the current setup doesn't allow for a static date in the Cube View with a Cell Type of "Date". 

Lastly, I was provided the below Idea Stream enhancement request that I could upvote:
https://community.onestreamsoftware.com/t5/Platform/Ability-to-disable-the-user-location-timezone-adjustments-to/idi-p/14997