Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to change the format of a DateTime Stamp

KCAgentProvocateur
8 - Asteroid

Hi There, 

 

I currently have a string in the format of MM/dd/yyyy and id like to change it to the datetime of dd/MM/yyy

 

Appreciate the help!

 

Thanks,

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

@KCAgentProvocateur ,

 

You can use the datetime tool or use an expression like this one:

 

DateTimeFormat([DateTimeField],"%d/%m/%Y")

 

AND save it to a string.

 

Cheers,

 

Mark 

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
RolandSchubert
16 - Nebula
16 - Nebula

Hi @KCAgentProvocateur,

 

you can use a formula:

DateTimeFormat(DateTimeParse([Field1], '%m/%d/%Y'), '%d/%m/%Y')

The result will be a string field, date type is always YYYY-mm-dd in Alteryx.

 

Best,

 

Roland

 

 

Labels