In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Convert from date to string (excel to alteryx)

dunkindonut7777
8 - Asteroid

Hi I have a data here that contains a field with "date" format in excel but it was automatically converted in excel as "string". In result, the values appeared differently.

 

Example below:

Code (Excel)Code (Alteryx)Expected Output in Alterx
2022072453-08-14202207
2022082453-08-15202208

 

How can I convert it to its original format in alteryx? I want to convert it back as what the Code (Excel) field has shown, but with string value.

 

 

1 REPLY 1
flying008
15 - Aurora

Hi, @dunkindonut7777 

 

FYI.

 

 

 

Spoiler
DateTimeDiff(ToString([Code]),'1899-12-30','days')

 

录制_2023_08_08_14_29_00_348.gif

 

******

If can help you get your want, please mark it as a solution and give a like for more share.

 

Labels
Top Solution Authors