In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date from excel

Kjaer
8 - Asteroid

Hi

I have an excel fil with a column of dates in the format dd-mm-yyyy. But when I import the file the dates are listed i excelnumber (ex. 28-02-2022 becomes 44620). How can I convert this column to dates again?

3 REPLIES 3
Adrian_T
Alteryx Alumni (Retired)

Hey @Kjaer, the ToDate formula will work for you here. 😊

 

Specifically,

 

ToDate(7000) returns 1919-03-01 as a date.

 

 

This previous community post should give your more clarity as well!

gautiergodard
13 - Pulsar

hey @Kjaer 

You can use this formula, also attaching workflow for your reference!

if isnull([Field1]) then DateTimeParse(DateTimeAdd(ToDateTime('1900-01-01'),[Field1],'days'),'%Y-%m-%d') else [Field1] endif

Hope this helps!

Kjaer
8 - Asteroid

It works :-)) Thanks.

Labels
Top Solution Authors