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 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
18 - Pollux
18 - Pollux

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

alexnajm
18 - Pollux
18 - Pollux

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
18 - Pollux
18 - Pollux

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