Help with Date Format Please
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
First time posting - hope its in the right location. Apologies if not.
I am looking to update the date format i am currently bringing in to "MM-DD-YYYY"
I am currently attempting to use the DATE tool but its just updating to null for the updated field.
Its currently coming in as a vstring.
Thank you for the advice help !
- Labels:
- Date Time
- Help
- Input
- Time Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@KellyCom - there are a couple of options in the attached file. Using a combo of DateTIme and Formula tools, or just Formula.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I assume that your data is a string now, you can use the formula:
DateTimeParse([YourField],"%d-%b-%Y")
You can use the multi field formula tool and select the date fields you want to convert. Make sure to untick the "create new field", and tick the "change data type" to Date. Then key in the code in the expression. Easier to use [_CurrentField_] in my view once you use the multi field formula tool. Hope this helps!
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
