Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Parse date and convert to proper dateTime

BonusCup
11 - Bolide

Hi,

 

Please see table below.  I have data that comes in as the example 'OriginalData' column but would like to convert the datetime from the original to the "Desired" format and keep all other cells.  I tried using the "DateTime" connector but had no luck.

 

OriginalDataDesired
Thu Aug 1 01:55:10 EDT 2019 :08/01/2019 1:55:10
cell 1cell 1
cell 2cell 2
cell 3cell 3
cell 4cell 4
cell 5cell 5
Thu Aug 1 03:55:08 EDT 2019 :08/01/2019 3:55:08
cell 6cell 6
cell 7cell 7
cell 8cell 8
cell 9cell 9
cell 10cell 10

 

Appreciate any help.

5 REPLIES 5
Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @BonusCup  !

 

I built a workflow using the DateTime tool to convert your string date in standard date format.

 

I attached the example workflow.

 

Don't hesitate to ask for more details.

 

Have a great day !

JoeS
Alteryx Alumni (Retired)

Hi @BonusCup 

 

Please find attached a workflow that looks to achieve it using a formula tool:

 

Workflow.png

 

 

Edit: this community is so quick, by the time you finish your reply you are often beaten too 🙂

BonusCup
11 - Bolide

Thank you @Jean-Balteryx and @JoeS 

 

Both worked to convert to the correct dateTime but I used @JoeS solution because I needed to keep the cells between each dateTime.

Jean-Balteryx
16 - Nebula
16 - Nebula

@JoeS 's solution is actually better than mine ! 🙂

JoeS
Alteryx Alumni (Retired)

Always nice to have two options available when it comes to working with dates!

Labels
Top Solution Authors