Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

DOUBLE TO DATE

AmAm
7 - Meteor

Hi, 

 

I have a date in excel but in Alteryx it switch to double. I want to keep it a date.

 

    In Alteryx                                     What I am trying to get

                                            (this is how it is in the excel file when I input it)

AmAm_1-1652963142833.png              AmAm_0-1652963039163.png 

 

 

 

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Try using the following and see how you get on:

 

 

 

datetimeformat(ToDateTime(tonumber(<Insert field name>)), '%B %d, %Y %I:%M:%S %p')

 

 

The ToNumber() may not be needed in your case. If not, just remove that and try:

 

datetimeformat(ToDateTime(<Insert field here>), '%B %d, %Y %I:%M:%S %p')

 

 

 

Iirc, Alteryx can't handle milliseconds, though I may be mistaken.

 

DataNath_0-1652964635489.png

 

AmAm
7 - Meteor

@DataNath  you saved the day .... Thanks man!!

DataNath
17 - Castor
17 - Castor

No problem! Happy to help :)

Labels
Top Solution Authors