Alteryx Designer Desktop Discussions

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

Date format

ShreyaSharma
8 - Asteroid

Hi All,

Can someone help me how to correct the date format 

 

Below error:-

 

ShreyaSharma_0-1603177962875.png

 

Required Output

ShreyaSharma_1-1603178160264.png

 

8 REPLIES 8
Emil_Kos
17 - Castor
17 - Castor

Hi @ShreyaSharma,

 

I have created two solutions for you. One is showing the data in date format - as I imagine that is what you require and the second one is providing you with a string with exactly the same format that you have specified.

 

Emil_Kos_0-1603178902026.png

I believe you should check the filed DateTime_Out.

 

Please let me know if this was helpful!

Emil_Kos
17 - Castor
17 - Castor

Hi @ShreyaSharma,

 

If you wanted to have a date format in the required output format I don't think it is possible as Alteryx only accepts iso format:

 

Alteryx supports the native ISO format of yyyy-mm-dd HH:MM:SS (e.g., 2016-02-10 14:55:00)

 

If you want to have the output in the desired format it needs to be a string format that is why I have provided you with two different columns as a solution.

ShreyaSharma
8 - Asteroid

Hi Eric,

below null is showing 😞

ShreyaSharma_0-1603179801119.png

 

grazitti_sapna
17 - Castor

HI @ShreyaSharma , try this I guess you are using custom format whereas the format is already described in the tool.

grazitti_sapna_0-1603180074371.png

 

Also I have prepared 2 solutions for you, can refer to any.

 

grazitti_sapna_1-1603180214196.png

 

 

Thanks.

 

 

Sapna Gupta
atcodedog05
22 - Nova
22 - Nova

Hi @ShreyaSharma 

 

The required output is not possible without manual intervention.

 

In Excel all strings are left aligned and all other values are right align.

In your error output the date is considered as string.

 

You can the desired output only by manual changing the date format.

atcodedog05_0-1603180391376.png

 

Hope this helps and gives you a understanding 🙂

 

 

Emil_Kos
17 - Castor
17 - Castor

Hi @ShreyaSharma,

 

I am Emil 😛 

 

I have downloaded the solution that I have attached to my e-mail and it works good. It is a kind of magic for me why it doesn't for you. 

 

Emil_Kos_1-1603180708571.png

 

ShreyaSharma
8 - Asteroid

Hi Eric,

 

Are you not getting below errror..

 

ShreyaSharma_0-1603195337477.png

 

grazitti_sapna
17 - Castor

Hi @ShreyaSharma , the format you are using is not correct as shown in the screenshot.

 

 

grazitti_sapna_0-1603255635719.png

 

 

Correct format %d-%b-%y or if you are using datetime tool then dd-Mon-yy should be the format.

 

Thanks.

Sapna Gupta
Labels