Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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