Converting timezone to GMT
I have a dataset that is updated every 15 minutes with real-time performance data, but this needs to be used by folks in the UK. The card is set to "Today" as the date, so for the period that it is "today" in EST and "tomorrow" in GMT, my card breaks. Is there a beastmode formula that could force my card to be set in GMT?
0
Comments
-
Here you go. You can create a filter for 'Today' in GMT using the following:
CASE WHEN Cast(`DateTime` as Date) = CAST(CONVERT_TZ(NOW(),'EST','GMT') AS DATE) THEN 1 ELSE 0 END
And just set it to = 1
This will only return data where your `DateTime` field is the same day. You can use the same Convert_TZ function on your datetime field if needed.
Hope this helps,
ValiantSpur
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 198 Visualize
- 254 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 176 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive