Right way to utilize string operation on long date.

I have a long date that I have converted to a text. Now I want to use the string operations tile to cut off the tail so I can have a nice clean date. the way it looks now in a string format is:
2022-02-24T12:08:34
What I want is:
2022-02-24
What I have been trying is:
But it leaving the date unchanged and that timestamp at the end is still there.
Thx
Comments
-
Make sure when you are looking in the preview that you are looking for the new column you just created "Rent Last Changed". Don't look at dRentLastChanged as that will not be altered.
Also, if your dRentLastChanged is a datetime or timestamp field, you could use a formula tile and just do this DATE(dRentLastChanged). This will make it a date only field.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.3 -
Did Mark's method get you taken care of? Changing the type should do it (either with Formula tile, or Alter Columns tile and change the datatype) but here's another method you could use...
Before:
Replace Text:
Results after:
0 -
oh goodness... defo use @MarkSnodgrass method. it's easier to read and stores the data as type DATE which will have more flexibility in cards than type TEXT
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2
Categories
- 7.6K All Categories
- Connect
- 917 Connectors
- 242 Workbench
- 473 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 445 Datasets
- 33 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 14 Manage
- 35 Governance & Security
- 19 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 15 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部