Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Best way to fix inconsistent format within one column.

$
0
0

Hi All,

 

I have one DateTime column with very inconsistent formats.

 

[Column]

11/23/2011  3:15:09

2014-07-23  17:44:54

1/30/2017   6:21:04

 

I have been using two rounds of Regex to make the format consistent like yyyy-MM-dd hh:mm:ss and managed to "fix" it, including the date and time with only 1 digit (by appending a leading 0) etc.

 

Being a newbie in Alteryx, I was wondering whether there is a more elegant/efficient/cleaner way of achieving the same output?

 

Thanks,

Viv

 

 

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles