Free Trial

Alteryx Designer Desktop Discussions

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

Convert UTC Date Time to Alteryx Date and time format

JenzEkan
8 - Asteroid

Hey Alteryxians,

 

I have a query in which I need to convert the below format dates to Alteryx dates. Please provide some inputs to achieve it.

 

Sample Input:

2022-04-18T21:21:56.000+0000
2021-03-02T00:00:00.000+0000
2022-08-10T07:03:53.000+0000
2022-08-10T07:03:54.000+0000
2022-09-01T14:41:43.000+0000

5 REPLIES 5
grazitti_sapna
17 - Castor

Hey @JenzEkan , You can use the below custom format using DateTime tool:

 

grazitti_sapna_0-1674041264305.png

 

Sapna Gupta
ShankerV
17 - Castor

Hi @JenzEkan 

 

One way of doing this!!!!

 

ShankerV_0-1674041300310.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @JenzEkan 

 

Step 1: Input

 

ShankerV_0-1674041373540.png

 

Step 2: 

ShankerV_1-1674041394123.png

 

ShankerV_2-1674041456497.png

 

Step 3: 

ShankerV_3-1674041555601.png

 

ShankerV_4-1674041566914.png

 

Many thanks

Shanker V

 

 

 

ChrisTX
16 - Nebula
16 - Nebula

Are your last two time segments always .000+0000 ?

 

If yes these formulas should work:

 

Replace([F1], "T", " ")                             output data type: String

Replace([F1], ".000+0000", "")         output data type: String

DateTimeParse([F1],"%Y-%m-%d %H:%M:%S")            output data type: DateTime

 

ChrisTX_0-1674041756860.png

 

Chris

JenzEkan
8 - Asteroid

Thank you Guys for the quick response @ChrisTX @ShankerV @grazitti_sapna .

Labels
Top Solution Authors