Alteryx Designer Desktop Discussions

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

Convert String to Date

superjesse
8 - Asteroid

Hello all,

 

How do I convert 09222018 to a date? I can't get the string to date function to work because I think I have to have it in yyyy-mm-dd format. I tried different ways and cannot achieve this. I also tried the datetimeparse formula, but keep getting a null value.

 

DateTimeParse([Timestamp UI],'%mm-%dd-%yyyy')

 

Thanks in advance.

 

Jesse

14 REPLIES 14
Mateusz_Palasz
5 - Atom

jessle

 

Awesome! Thank you 😉

 

Mateusz

G_Thompson
8 - Asteroid

Hi,

 

I'm extracting six digits from a string which represents the date. It is in the format 201130 (30 November 2020).

 

I'm trying to get the DateTime Parse tool to do the job but don't seem to be able to get the format right (I've tried a few!).

 

Can anyone help?

 

G_Thompson_0-1606692287040.png

 

 

 

LucasJaques949
5 - Atom

Tenho uma data, 20210101 como converto isso para uma data 01/01/2021?

JamieRoberts
5 - Atom

First weekly challenge completed!

data_david
5 - Atom

 My Solution. Thanks

Labels
Top Solution Authors