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

DATETIME PARSING

kathbanc
8 - Asteroid

Hi! Can you help again please

 

Input : 

 

kathbanc_1-1686150376548.png

 

kathbanc_0-1686150343551.png

 

Output should be 2022-06-06  

YYYY-MM-DD 

 

Thank you in advance

 

4 REPLIES 4
binuacs
21 - Polaris

@kathbanc One way of doing this

binuacs_0-1686150791678.png

 

OllieClarke
16 - Nebula
16 - Nebula

Hi @kathbanc 

 

You'll need to use the datetimeparse() function, as you've got AM/PM

 

There's more info here https://help.alteryx.com/20231/designer/datetime-functions

 

But I think this is what you want:

 

datetimeparse([Field],"%d-%b-%y %I:%M %p")

 

 

Hope that helps,

 

Ollie

 

edit: no keeping up with @binuacs ;)

nagakavyasri
12 - Quasar

Screenshot 2023-06-07 115030.png

kathbanc
8 - Asteroid

Thank you all so much!!! Very much appreciated

Labels
Top Solution Authors