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 Editing from Excel

ptraynor
5 - Atom

When you insert a date into Excel as a number eg. 1 March as 01/03 (UK), it will assume this is the current year eg. 01/03/2017. Can I use Alteryx to edit this data imported from excel to change the year i.e. change a whole data set from 2017 to 2013?

 

Thanks

Peter

2 REPLIES 2
sjm
8 - Asteroid

You can use this formula to subtract 4 years: DateTimeAdd(date,-4,'year')

danrh
13 - Pulsar

You could add a Formula tool, select your field as the Output Column, and use DateTimeFormat([YourDate],'2013-%m-%d').

Labels
Top Solution Authors