SOLVED
date
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
bh1789
8 - Asteroid
‎11-02-2022
10:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
if I have the following:
Message Date
2022-01-01 (Date Type)
How would I output the following:
Report Month
Jan 2022
Thank you!
Solved! Go to Solution.
Labels:
- Labels:
- Date Time
5 REPLIES 5
Felipe_Ribeir0
16 - Nebula
‎11-02-2022
10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
gautiergodard
13 - Pulsar
‎11-02-2022
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
17 - Castor
‎11-02-2022
10:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @bh1789,
You can use the date parse and date format functions to achieve this:
DateTimeFormat(
DateTimeParse([Message Date],"%y-%m-%d")
,"%b %y")
Date time parse converts your text data to a date data type and then the format converts it back to text in your given format.
If your interested in learning more about the datetime functions there is a great cheat sheet Blog here: https://community.alteryx.com/t5/Engine-Works/DateTime-Functions-Cheat-Sheet/ba-p/844353
Any questions or issues please ask
Ira Watt
Technical Consultant
Watt@Bulien.com
binuacs
21 - Polaris
‎11-02-2022
02:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎11-05-2022
07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you!
