Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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