ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date format change

RK13
Meteoroide

Hi Team,

 

I was trying to change my date format from 3/31/2021(vstring) to 2021-03-31 with date tool. But I'm seeing below error. Could you please help me on this ?

 

Note: I've multiple date in my data, above one is just sample

 

DateTime (27) DateTime_Out: Cannot convert "1/1/2019" to a date/time with format "YYYY-%m-DD": Expected separator 'YYYY-%m-DD', got: '1/1/2019' Record #2

 

Thanks in Advance

 

 

2 RESPUESTAS 2
Emil_Kos
17 - Castor
17 - Castor

Hi @RK13,

 

Please see the workflow attached:

 

Emil_Kos_0-1620116967554.png

 

This formula should work for you:

 

DateTimeParse([Field1],'%m/%d/%y')

 

RK13
Meteoroide

This worked.  Thanks 🙂

Etiquetas
Autores con mayor cantidad de soluciones