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.
解決済み

DATETIME PARSING

kathbanc
アステロイド

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件の返信4
binu_acs
ポラリス

@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 @binu_acs ;)

nagakavyasri
クエーサー

Screenshot 2023-06-07 115030.png

kathbanc
アステロイド

Thank you all so much!!! Very much appreciated

ラベル
トップのソリューション投稿者