SOLVED
Separating Date & Time
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cherkos12
7 - Meteor
‎07-25-2022
01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi -
the 'completed time' field is vstring type which wouldn't let me force to change the data type and wanting to parse that field into 2 separate fields, date and time. please help
Thanks
Solved! Go to Solution.
Labels:
- Labels:
- Alteryx Practice
- Data Challenge
2 REPLIES 2
17 - Castor
‎07-25-2022
02:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Cherkos12 how does this look?
([0-9-]+)(.+)
In the above example, I've just split them and left the fields as they come out. However, if you want just the raw time for example then you can change the expression to something like the following:
([0-9-]+)T(.{8})
Workbook attached.
‎07-26-2022
08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
this helped. thanks
