Changing date from 2016-01-22 to 01-22-2016
Hi,
I've seen posts that are similiar but not quite my same issue. My data is coming in like 01/22/2016 and DOMO is changing it to 2016-01-22. Can you please help on converting it to month-day-year format.
I've used the below but wondering if there is anything in the ETL(Magic preferrably) to do it so I don't have to have multiple beastmodes for date all over my selects.
DATE_FORMAT(`Start/Invoice Date`, '%m-%d-%Y')
Best Answer
-
Thanks for clarifying @DMJerry. Since the data is coming in as a date then we should be able to adjust the format of the date using the chart properties. Here is an example of how to do that. I don't think there's a way to change this globally, it has to be done at the card level.
Does that approach meet your needs?
Thank you,
Creed
2
Answers
-
Hi @DMJerry thanks for reaching out. Can you provide a little more information about the issue you're seeing? Is the data coming in as a date format, or is it text? Also, are you seeing the date being formatted as YYYY-MM-DD in a card or in the dataset in the datacenter?
Thank you,
Creed
0 -
Hi @creed, Thank you for the response. The data is coming in as a date. In the CSV raw file it's "MM/DD/YYYY" but when it comes out into the final dataset it is in this format "YYYY-MM-DD" .. I don't mind the "-" vs "/" but I wanted to change the format within Magic(if possible) so I don't have to do the beastmode that I've had to use in my original post.
Thanks for your help.
0 -
Thanks @creed , sorry but I should've been more clear but this is for table cards which do not have that option. This is definitely a solution, so I'll mark it, but i really need it for table cards. I'll send it to feedback as an enhancement for the table card chart properties.
Thank you for all your help.
1
Categories
- 10.6K All Categories
- APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 337 Workbench
- 250 Domo Best Practices
- 11 Domo Certification
- 460 Domo Developer
- 47 Domo Everywhere
- 100 Apps
- 703 New to Domo
- 83 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 22 お知らせ
- 62 Kowaza
- 295 仲間に相談
- 649 ひらめき共有