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
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 525 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 437 Beast Mode
- 23 Variables
- 513 Automate
- 115 Apps
- 390 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 66 Manage
- 66 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive