Converting Time zone with day light saving
Hello,
I am trying to do a simple conversion of time zones of a datetime column from UTC to CST and EST. For some reason, I am getting error in this formula:
CONVERT_TZ(`DateTimecolumn`, 'utc', 'cst')
I also tried CDT instead of CST but getting error. I need something which works for time zone conversion as well as day light saving.
Comments
-
Hi @User2021
Instead of CST I'd recommend using the country/city name like this:
CONVERT_TZ(`DateTimecolumn`, 'UTC', 'America/Chicago')
You can use this in either a Beast Mode on a Card or a Formula Tile in a MagicETL 2.0 dataflow.
Here's a list of timezone strings:
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3 -
Thanks @GrantSmith you are always helpful!!
0 -
Hey @GrantSmith this country/city combination is not working. Any other idea?
CONVERT_TZ(`ColumnName`, 'UTC', 'America/Chicago') AS UTC_TO_CST
0 -
How is it not working? What are you getting? What are you expecting? Domo will convert your TIMESTAMP fields when a card is displayed to whatever time zone your instance is configured to.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
@GrantSmith It is not calculating daylight saving time.
0 -
I tagged you in another post where its same scenario
0 -
Can anyone guide me how to solve daylight saving time problem in dataflow. I have already converted timezones as mentioned above by @GrantSmith
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 655 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive