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
15 - Aurora
15 - Aurora

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