In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.

Date Conversion

Sifiso
8 - Asteroid

Hi folks

 

please help

 

I have 2023-02-13 I want it in this format YYYY/MM/DD hh:mm:ss

 

 

4 REPLIES 4
alexnajm
19 - Altair
19 - Altair

What are the hh:mm:ss if you don't have that value available?

alexnajm
19 - Altair
19 - Altair

Assuming you want 00:00:00, this would work: DateTimeFormat([Field], "%Y/%m/%d 00:00:00")

Sifiso
8 - Asteroid

the output data becomes v-wstring, when I choose datetime it becomes null

 

alexnajm
19 - Altair
19 - Altair

Correct - date data types in Alteryx can only be stored as yyyy-mm-dd! Any other format will be a string value