In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

String to DateTime - Datetime tool only converting some values

wonka1234
10 - Fireball

hi,

 

I have this data set column as a string, i want to convert it to date.

 


27SEP2023:10:11:45.898612
22SEP2023:08:50:58.710292
04OCT2023:20:47:22.229669
19SEP2023:12:57:18.044111 

 

date time tool i use this - ddMMMyyyy:hh:mm:ss.ssssss

 

only 1 of these values are converting, please help.

 

5 REPLIES 5
OTrieger
14 - Magnetar

@wonka1234 
Have you tried ddMMyyyy:hh:mm:ss.ssssss?


wonka1234
10 - Fireball

@OTrieger  "ddMMyyyy:hh:mm:ss.ssssss" seems to give all nulls :(

ChrisTX
16 - Nebula
16 - Nebula

Use ddMMMyyyy:hh:mm:ss.ffffff

 

See the section for "Hour, Minute, and Second Format Specifiers" on this web page:   DateTime Tool (alteryx.com)

 

Chris

OTrieger
14 - Magnetar

You actually need to use this format: ddMonyyyy:hh:mm:ss

OTrieger
14 - Magnetar

This one will work

Labels
Top Solution Authors