Add time zone option to inbuilt date/time functions

The Domo functions such as NOW(), CURRENT_TIME(), CURRENT_TIMESTAMP(), CURTIME() all return times in UTC. It would be great if these could all be modified to take additional optional parameter of time zone so that the return values are shifted to the local time appropriate to the given time zone (including daylight savings if/when applicable). For example:-
NOW( 'America/New_York') would return UTC -5/-4 hours depending on whether daylight savings are in effect or not.
Comments
-
You can achieve this via Beast Mode. So, they probably won't spend time adding it.
CONVERT_TZ(NOW(), 'UTC', 'America/New_York')
Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!1 -
Hi @Brycec,
I actually found that out too. However, when I asked Domo about this they said CONVERT_TZ isn't "supported" for use in Beast Modes or ETL (it's only for use in connector SQL or SQL data flows). So, although it works, it could stop working at any time and Domo wouldn't then be bound to provide any support (fix it).
Thanks!
1
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 824 Beast Mode
- Visualize
- 2.6K Charting
- 87 App Studio
- 46 Variables
- Automate
- 195 Apps
- 486 APIs & Domo Developer
- 91 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive