Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

date format

Sheena_Mae
6 - Meteoroid

Hi! I'm new to alteryx and I need to convert these dates to "yyyy-MM-dd" from the format of the screenshot below.

I have tried toDate([Entry Date]) and DateTimeFormat ([Entry Date], "%y-%m-%d") but it did not work out.

 

Hope you could help me.

Thank you in advance.

Sheena_Mae_0-1672908385725.png

 

6 REPLIES 6
binuacs
20 - Arcturus

@Sheena_Mae One way of doing this with the DteTimeParse function

binuacs_0-1672908890391.png

 

ShankerV
17 - Castor

Hi @Sheena_Mae 

 

We have 2 ways to achieve the solution.

 

Solution 1:

Please find the expected solution,

ShankerV_1-1672909824109.png

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

 

 

 

 

ShankerV
17 - Castor

Hi @Sheena_Mae 

 

Step 1: Input

 

Step 2: Regex

ShankerV_0-1672909890427.png

 

Step 3: Date time tool

 

ShankerV_1-1672909933841.png

 

Output:

 

ShankerV_2-1672909951416.png

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

@Sheena_Mae 

 

Solution 2:

 

Via formula tool, datetimeparse function

 

ShankerV_1-1672910383593.png

 

ShankerV_2-1672910396474.png

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

 

 

Sheena_Mae
6 - Meteoroid

Thank you very much! The solutions worked :D

Sheena_Mae
6 - Meteoroid

Thank you very much @binuacs! very helpful :D

Labels